@mermaid-editor-sdk/ui / MermaidEditorParts
Interface: MermaidEditorParts
Defined in: package/ui/src/ui/MermaidEditor.tsx:81
Props passed to the default UI parts and available for custom editor composition.
Properties
canvas
readonlycanvas:MermaidCanvasProps
Defined in: package/ui/src/ui/MermaidEditor.tsx:89
Props for the Mermaid canvas.
diagramPalette
readonlydiagramPalette:DiagramPaletteProps
Defined in: package/ui/src/ui/MermaidEditor.tsx:87
Props for the diagram palette component (DiagramPalette).
diagramTypeSelect
readonlydiagramTypeSelect:DiagramTypeSelectProps
Defined in: package/ui/src/ui/MermaidEditor.tsx:97
Props for the diagram type selector.
selectionEditor
readonlyselectionEditor:SelectionEditorProps
Defined in: package/ui/src/ui/MermaidEditor.tsx:93
Props for the selection editor.
shell
readonlyshell:Omit<EditorShellProps,"children">
Defined in: package/ui/src/ui/MermaidEditor.tsx:83
Props for the editor shell, excluding its children.
sourceEditor
readonlysourceEditor:SourceEditorProps
Defined in: package/ui/src/ui/MermaidEditor.tsx:91
Props for the source editor.
status
readonlystatus:EditorStatusProps
Defined in: package/ui/src/ui/MermaidEditor.tsx:95
Props for the status display.
toolbar
readonlytoolbar:ToolSidebarProps
Defined in: package/ui/src/ui/MermaidEditor.tsx:85
Props for the sidebar component (ToolSidebar).