Skip to content

rune-langium / visual-editor/src / ChoiceOptionRowProps

Interface: ChoiceOptionRowProps

Defined in: packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:21

Properties

PropertyTypeDescriptionDefined in
allNodeIds?string[]All loaded graph node IDs for resolving type name to node ID.packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:35
availableTypesTypeOption[]Available type options (for badge styling lookup).packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:27
disabled?booleanWhether the row is disabled.packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:31
nodeIdstringNode ID owning this choice.packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:25
onNavigateToNode?NavigateToNodeCallbackCallback to navigate to a type's graph node.packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:33
onRemove(nodeId, typeName) => voidRemove this option.packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:29
typeNamestringThe type name for this choice option.packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:23

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.