TreeNodeRendererProps Interface

Properties for TreeNodeRenderer.

Extends

Methods

Name Description
onLabelRendered(node: TreeModelNode): void Optional Callback used to detect when label is rendered.  

Properties

Name Type Description
checkboxRenderer undefined | NodeCheckboxRenderer Callback to render custom checkbox.  
children undefined | ReactNode Child components to render inside the node.  
descriptionEnabled undefined | boolean Specifies whether to show descriptions or not.  
imageLoader undefined | ITreeImageLoader Image loader for node icons.  
node TreeModelNode Tree node to render.  
nodeEditorRenderer undefined | TreeNodeEditorRenderer Callback to render custom node editor when node is in editing mode.  
nodeHighlightProps undefined | HighlightableTreeNodeProps Properties used to highlight matches when tree is filtered.  
treeActions TreeActions Action handler.  

Inherited properties

Name Type Inherited from Description
className undefined | string CommonProps Custom CSS class name
itemId undefined | string CommonProps Optional unique identifier for item.
style undefined | CSSProperties CommonProps Custom CSS style properties

Defined in

Last Updated: 20 June, 2023