rune-langium / visual-editor/src / ChoiceOptionRowProps
Interface: ChoiceOptionRowProps
Defined in: packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:21
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
allNodeIds? | string[] | All loaded graph node IDs for resolving type name to node ID. | packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:35 |
availableTypes | TypeOption[] | Available type options (for badge styling lookup). | packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:27 |
disabled? | boolean | Whether the row is disabled. | packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:31 |
nodeId | string | Node ID owning this choice. | packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:25 |
onNavigateToNode? | NavigateToNodeCallback | Callback to navigate to a type's graph node. | packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:33 |
onRemove | (nodeId, typeName) => void | Remove this option. | packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:29 |
typeName | string | The type name for this choice option. | packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:23 |