Type Alias: TreeListItemProps<T>
TreeListItemProps<
T> =object
Defined in: jsx.ts:54
Props for items in a TreeListView.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
T | unknown | The type of data associated with this tree item |
Properties
children?
optionalchildren:ReactNode
Defined in: jsx.ts:66
Nested tree items (children of this item)
hideExpander?
optionalhideExpander:boolean
Defined in: jsx.ts:64
Whether to hide the expand/collapse arrow
id
id:
string
Defined in: jsx.ts:56
Unique identifier for this item
indentForDepth?
optionalindentForDepth:boolean
Defined in: jsx.ts:60
Whether to indent based on tree depth (default: true)
indentForIcon?
optionalindentForIcon:boolean
Defined in: jsx.ts:62
Whether to indent for expander icon width
value
value:
T
Defined in: jsx.ts:58
The data value for this item