Interface: ITreeNodeItemProps<T>
molecule.component.ITreeNodeItemProps
Type parameters
| Name | Type |
|---|---|
T | any |
Hierarchy
ITreeNodeItemProps
Indexable
▪ [key: string]: any
Properties
children
• Optional children: ITreeNodeItemProps<any>[]
The children of this tree node
Defined in
data
• Optional data: T
Store the custom data
Defined in
disabled
• Optional disabled: boolean
The status of disabled
Defined in
icon
• Optional icon: string | Element
The icon of this tree node, which is rendered in front of the name
Defined in
id
• id: UniqueId
The unique id in tree node
aware Please be aware of that id should be global unique
Defined in
isEditable
• Optional isEditable: boolean
The status of editable, mark whether the node is being edited
Defined in
isLeaf
• Optional isLeaf: boolean
The type of this tree node.
Defined in
name
• Optional name: string
The name of this tree node