Skip to content

rune-langium / visual-editor/src / ChoiceOptionRowProps

Interface: ChoiceOptionRowProps ​

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

Extends ​

  • InspectorRowProps

Properties ​

PropertyTypeDescriptionInherited fromDefined in
allNodeIds?string[]All loaded graph node IDs for resolving type name to node ID.-packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:40
availableTypesTypeOption[]Available type options (for badge styling lookup).-packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:32
disabled?booleanWhether the row is disabled.-packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:36
nodeIdstringNode ID owning this choice.-packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:30
onNavigateToNode?NavigateToNodeCallbackCallback to navigate to a type's graph node.-packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:38
onRemove(nodeId, typeName) => voidRemove this option.-packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:34
onSelect?() => void-InspectorRowProps.onSelectpackages/visual-editor/src/components/editors/inspector/inspector-row.ts:12
selected?boolean-InspectorRowProps.selectedpackages/visual-editor/src/components/editors/inspector/inspector-row.ts:11
typeNamestringThe type name for this choice option.-packages/visual-editor/src/components/editors/ChoiceOptionRow.tsx:28

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