Skip to main content
Version: 0.9.0-beta.2

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

src/components/tree/index.tsx:45


data

Optional data: T

Store the custom data

Defined in

src/components/tree/index.tsx:49


disabled

Optional disabled: boolean

The status of disabled

Defined in

src/components/tree/index.tsx:33


icon

Optional icon: string | Element

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

Defined in

src/components/tree/index.tsx:29


id

id: UniqueId

The unique id in tree node

aware Please be aware of that id should be global unique

Defined in

src/components/tree/index.tsx:21


isEditable

Optional isEditable: boolean

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

Defined in

src/components/tree/index.tsx:41


isLeaf

Optional isLeaf: boolean

The type of this tree node.

Defined in

src/components/tree/index.tsx:37


name

Optional name: string

The name of this tree node

Defined in

src/components/tree/index.tsx:25