TreeNodeProps Interface
Deprecated in 4.15.0. Props of deprecated TreeNode component.
Properties for the TreeNode React component
Extends
Properties
Name | Type | Description | |
---|---|---|---|
checkboxProps | NodeCheckboxProps | undefined | ||
children | React.ReactNode | undefined | ||
data-testid | string | undefined | ||
icon | string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | ||
isExpanded | boolean | undefined | ||
isFocused | boolean | undefined | ||
isHoverDisabled | boolean | undefined | ||
isLeaf | boolean | undefined | ||
isLoading | boolean | undefined | ||
isSelected | boolean | undefined | ||
label | React.ReactNode | ||
level | number | ||
onClick | (e: React.MouseEvent<Element, MouseEvent>) => void | undefined | ||
onClickExpansionToggle | () => void | undefined | ||
onContextMenu | (e: React.MouseEvent<Element, MouseEvent>) => void | undefined | ||
onMouseDown | (e: React.MouseEvent<Element, MouseEvent>) => void | undefined | ||
onMouseMove | (e: React.MouseEvent<Element, MouseEvent>) => void | undefined | ||
onMouseUp | (e: React.MouseEvent<Element, MouseEvent>) => void | undefined | ||
renderOverrides | { renderCheckbox?: NodeCheckboxRenderer } | undefined | Contains render overrides for different pieces of the node component. |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
className | string | undefined | CommonProps | Custom CSS class name |
itemId | string | undefined | CommonProps | Optional unique identifier for item. |
style | React.CSSProperties | undefined | CommonProps | Custom CSS style properties |
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.