跳到主要内容
版本:1.x

Interface: ITreeNodeItemProps<T>

molecule.component.ITreeNodeItemProps

Type parameters

NameType
Tany

Hierarchy

Indexable

[key: string]: any

Properties

children

Optional children: ITreeNodeItemProps<any>[]

The children of this tree node

Defined in

components/tree/index.tsx:51


data

Optional data: T

Store the custom data

Defined in

components/tree/index.tsx:55


disabled

Optional disabled: boolean

The status of disabled

Defined in

components/tree/index.tsx:39


icon

Optional icon: string | Element

The icon of this tree node, which is rendered in front of the name

Defined in

components/tree/index.tsx:35


id

id: UniqueId

The unique id in tree node

aware Please be aware of that id should be global unique

Defined in

components/tree/index.tsx:27


isEditable

Optional isEditable: boolean

The status of editable, mark whether the node is being edited

Defined in

components/tree/index.tsx:47


isLeaf

Optional isLeaf: boolean

The type of this tree node.

Defined in

components/tree/index.tsx:43


name

Optional name: string

The name of this tree node

Defined in

components/tree/index.tsx:31