Line

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

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

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

Functions#

FlowInset()#

FlowInset(__namedParameters): Element

Defined in: ui/client/features/component-docs/components/FlowInset.tsx:27

"Flow inset": a small, read-only diagram of the component's machine (reusing the Workflows screen's own layout, useMachineFlow), with the state chosen in the State switcher highlighted.

Props#

Prop Type Required Default Description
machine WorkflowMachine Yes —
current `string null` Yes —

Returns#

Element