Line

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

ui/client/features/pages-editor/components/SnippetEditor

Cockpit client (features), next. Source: ui/client/features/pages-editor/components/SnippetEditor.tsx.

Functions#

SnippetEditor()#

SnippetEditor(__namedParameters): Element

Defined in: ui/client/features/pages-editor/components/SnippetEditor.tsx:40

Props#

Prop Type Required Default Description
feature string Yes —
file string Yes —
nodeId string Yes —
contentHash string Yes —
onSaved (tree: PageTree) => void Yes —

Returns#

Element