@mermaid-editor-sdk/ui


@mermaid-editor-sdk/ui / EditorShellProps

Interface: EditorShellProps

Defined in: package/ui/src/ui/components/EditorShell.tsx:17

Properties

children?

readonly optional children?: ReactNode

Defined in: package/ui/src/ui/components/EditorShell.tsx:29

Compound region components to render inside the shell.


className?

readonly optional className?: string

Defined in: package/ui/src/ui/components/EditorShell.tsx:27

Additional class name on the root.

Default

""


onKeyDown?

readonly optional onKeyDown?: (event) => void

Defined in: package/ui/src/ui/components/EditorShell.tsx:23

Keyboard handler attached to the shell root.

Parameters

ParameterType
eventKeyboardEvent<HTMLDivElement>

Returns

void


title?

readonly optional title?: string

Defined in: package/ui/src/ui/components/EditorShell.tsx:21

Shell heading.

Default

"Diagram"