@mermaid-editor-sdk/ui / EditorShellProps
Interface: EditorShellProps
Defined in: package/ui/src/ui/components/EditorShell.tsx:17
Properties
children?
readonlyoptionalchildren?:ReactNode
Defined in: package/ui/src/ui/components/EditorShell.tsx:29
Compound region components to render inside the shell.
className?
readonlyoptionalclassName?:string
Defined in: package/ui/src/ui/components/EditorShell.tsx:27
Additional class name on the root.
Default
""
onKeyDown?
readonlyoptionalonKeyDown?: (event) =>void
Defined in: package/ui/src/ui/components/EditorShell.tsx:23
Keyboard handler attached to the shell root.
Parameters
| Parameter | Type |
|---|---|
event | KeyboardEvent<HTMLDivElement> |
Returns
void
title?
readonlyoptionaltitle?:string
Defined in: package/ui/src/ui/components/EditorShell.tsx:21
Shell heading.
Default
"Diagram"