@mermaid-editor-sdk/ui / EditorShellComponent
Interface: EditorShellComponent()
Defined in: package/ui/src/ui/components/EditorShell.tsx:33
EditorShell component with named compound regions for composing the editor layout.
Extends
FunctionComponent<EditorShellProps>
EditorShellComponent(
props):ReactNode|Promise<ReactNode>
Defined in: package/ui/src/ui/components/EditorShell.tsx:33
EditorShell component with named compound regions for composing the editor layout.
Parameters
| Parameter | Type |
|---|---|
props | EditorShellProps |
Returns
ReactNode | Promise<ReactNode>
Properties
Actions
readonlyActions:FunctionComponent<EditorShellRegionProps>
Defined in: package/ui/src/ui/components/EditorShell.tsx:47
Region for header actions.
Canvas
readonlyCanvas:FunctionComponent<EditorShellRegionProps>
Defined in: package/ui/src/ui/components/EditorShell.tsx:37
Region for the diagram canvas.
HeaderControls
readonlyHeaderControls:FunctionComponent<EditorShellRegionProps>
Defined in: package/ui/src/ui/components/EditorShell.tsx:45
Region for diagram type and other header controls.
Selection
readonlySelection:FunctionComponent<EditorShellRegionProps>
Defined in: package/ui/src/ui/components/EditorShell.tsx:41
Region for the selection editor.
Sidebar
readonlySidebar:FunctionComponent<EditorShellRegionProps>
Defined in: package/ui/src/ui/components/EditorShell.tsx:35
Region for sidebar content.
Source
readonlySource:FunctionComponent<EditorShellRegionProps>
Defined in: package/ui/src/ui/components/EditorShell.tsx:39
Region for the Mermaid source editor.
Status
readonlyStatus:FunctionComponent<EditorShellRegionProps>
Defined in: package/ui/src/ui/components/EditorShell.tsx:43
Region for the status message.