Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/component-docs/components/ComponentIsolatedPanel

Cockpit client (features), next. Source: ui/client/features/component-docs/components/ComponentIsolatedPanel.tsx.

Functions#

ComponentIsolatedPanel()#

ComponentIsolatedPanel(__namedParameters): Element

Defined in: ui/client/features/component-docs/components/ComponentIsolatedPanel.tsx:15

"one component on its own": the isolated preview, with a State switcher and Flow inset driven by the component's own machine (found by the same-name-file convention, useComponentWorkflow). A component with no machine still gets the isolated preview, just without the switcher/inset.

Props#

Prop Type Required Default Description
path string Yes —

Returns#

Element