TreeNodeData
Defined in: src/components/controls/TreeView/TreeView.types.ts:18
Generic tree node data structure.
Properties
children?
optionalchildren:TreeNodeData[]
Defined in: src/components/controls/TreeView/TreeView.types.ts:26
Child nodes (empty array or undefined for leaf nodes)
data?
optionaldata:Record<string,unknown>
Defined in: src/components/controls/TreeView/TreeView.types.ts:36
Additional data attached to this node
disabled?
optionaldisabled:boolean
Defined in: src/components/controls/TreeView/TreeView.types.ts:28
Whether this node is disabled
draggable?
optionaldraggable:boolean
Defined in: src/components/controls/TreeView/TreeView.types.ts:30
Whether this node can be dragged
droppable?
optionaldroppable:boolean
Defined in: src/components/controls/TreeView/TreeView.types.ts:32
Whether this node can accept children via drag-and-drop
icon?
optionalicon:ReactNode
Defined in: src/components/controls/TreeView/TreeView.types.ts:24
Optional icon rendered before the label
id
id:
string
Defined in: src/components/controls/TreeView/TreeView.types.ts:20
Unique identifier for this node
label
label:
string
Defined in: src/components/controls/TreeView/TreeView.types.ts:22
Display label
renamable?
optionalrenamable:boolean
Defined in: src/components/controls/TreeView/TreeView.types.ts:34
Whether this node can be renamed inline