TreeNodeProps Interface
Properties for the TreeNode React component
Extends
Methods
Name |
Description |
|
onClick(e: MouseEvent<Element, MouseEvent>): void Optional |
|
|
onClickExpansionToggle(): void Optional |
|
|
|
|
onMouseDown(e: MouseEvent<Element, MouseEvent>): void Optional |
|
|
onMouseMove(e: MouseEvent<Element, MouseEvent>): void Optional |
|
|
onMouseUp(e: MouseEvent<Element, MouseEvent>): void Optional |
|
|
Properties
Name |
Type |
Description |
|
checkboxProps |
undefined | NodeCheckboxProps |
Properties for the checkbox. |
|
children |
undefined | ReactNode |
|
|
data-testid |
undefined | string |
|
|
icon |
undefined | ReactChild |
|
|
isExpanded |
undefined | boolean |
|
|
isFocused |
undefined | boolean |
|
|
isHoverDisabled |
undefined | boolean |
|
|
isLeaf |
undefined | boolean |
|
|
isLoading |
undefined | boolean |
|
|
isSelected |
undefined | boolean |
|
|
label |
ReactNode |
|
|
level |
number |
|
|
renderOverrides |
undefined | { renderCheckbox?: NodeCheckboxRenderer } |
Contains render overrides for different pieces of the node component. |
|
Inherited properties
Defined in
Last Updated:
30 November, 2023