Type Alias: TreeListItemProps<T>
TreeListItemProps<
T> =object
Defined in: jsx.ts:100
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:112
Nested tree items (children of this item)
hideExpander?
optionalhideExpander:boolean
Defined in: jsx.ts:110
Whether to hide the expand/collapse arrow
id
id:
string
Defined in: jsx.ts:102
Unique identifier for this item
indentForDepth?
optionalindentForDepth:boolean
Defined in: jsx.ts:106
Whether to indent based on tree depth (default: true)
indentForIcon?
optionalindentForIcon:boolean
Defined in: jsx.ts:108
Whether to indent for expander icon width
value
value:
T
Defined in: jsx.ts:104
The data value for this item