ui/client/features/tests/components/StepEditorStatus
Cockpit client (features), next. Source: ui/client/features/tests/components/StepEditorStatus.tsx.
Functions#
StepEditorStatus()#
StepEditorStatus(
__namedParameters):Element|null
Defined in: ui/client/features/tests/components/StepEditorStatus.tsx:5
Loading, error and read-only (with the reason) states of the editor. Read-only is a feature, not a failure: a file that would not survive parse -> render is never offered for editing, so it can never be corrupted.
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
state |
StepEditorState |
Yes | — |
Returns#
Element | null