ui/client/features/component-docs/components/IsolatedComponentPreview
Cockpit client (features), next. Source: ui/client/features/component-docs/components/IsolatedComponentPreview.tsx.
Functions#
IsolatedComponentPreview()#
IsolatedComponentPreview(
__namedParameters):Element
Defined in: ui/client/features/component-docs/components/IsolatedComponentPreview.tsx:11
"Isolated view": the component rendered alone (no surrounding app) via the dev server's
/__construct/component harness (see packages/engine/previewVitePlugin.mjs). Clear empty state
when the dev server is not running -- there is nothing to frame.
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
path |
string |
Yes | — |
Returns#
Element