TreeNodeProps Interface

Properties for the TreeNode React component

Extends

Properties

Name Type Description
checkboxProps undefined | NodeCheckboxProps Properties for the checkbox.  
children undefined | React.ReactNode    
data-testid undefined | string    
icon undefined | React.ReactChild    
isExpanded undefined | false | true    
isFocused undefined | false | true    
isHoverDisabled undefined | false | true    
isLeaf undefined | false | true    
isLoading undefined | false | true    
isSelected undefined | false | true    
label React.ReactNode    
level number    
onClick undefined | (e: MouseEvent) => void    
onClickExpansionToggle undefined | () => void    
onMouseDown undefined | (e: MouseEvent) => void    
onMouseMove undefined | (e: MouseEvent) => void    
onMouseUp undefined | (e: MouseEvent) => void    
renderOverrides undefined | { renderCheckbox?: NodeCheckboxRenderer } Contains render overrides for different pieces of the node component.  

Inherited properties

Name Type Inherited from Description
className undefined | string ClassNameProps Custom CSS class name
style undefined | React.CSSProperties CommonProps Custom CSS style properties

Defined in

Last Updated: 13 June, 2024