rune-langium / visual-editor/src / MetadataSectionProps
Interface: MetadataSectionProps
Defined in: packages/visual-editor/src/components/editors/MetadataSection.tsx:25
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
onCommentsCommit | (comments) => void | Called when comments change (debounced commit to graph). | packages/visual-editor/src/components/editors/MetadataSection.tsx:31 |
onDefinitionCommit | (definition) => void | Called when definition changes (debounced commit to graph). | packages/visual-editor/src/components/editors/MetadataSection.tsx:29 |
onSynonymAdd | (synonym) => void | Called when a synonym is added (immediate commit to graph). | packages/visual-editor/src/components/editors/MetadataSection.tsx:33 |
onSynonymRemove | (index) => void | Called when a synonym is removed by index (immediate commit to graph). | packages/visual-editor/src/components/editors/MetadataSection.tsx:35 |
readOnly? | boolean | Whether the metadata section is read-only. | packages/visual-editor/src/components/editors/MetadataSection.tsx:27 |