Search documentation

Type to search the documentation.

API: Primitives

TreeNode

Interface reference for TreeNode.

Overview

Declaration

interface TreeNode<T = unknown>

Properties

Name Type Description
id string
label string
children? TreeNode<T>[]
hasChildren? boolean Declares that this node has children before they are known โ€” the entry point for lazy loading. When omitted, expandability is inferred from children.
expanded? boolean
disabled? boolean
data? T