TreeRendererProps Interface

Properties for TreeRenderer component.


Name Type Description
height undefined | number Height of the tree area.  
nodeHeight (node: TreeModelNode | TreeModelNodePlaceholder, index: number) => number Callback that is used to determine node height.  
nodeHighlightingProps undefined | HighlightableTreeProps Properties used to highlight nodes and scroll to active match while filtering.  
nodeLoader ITreeNodeLoader    
nodeRenderer undefined | (props: TreeNodeRendererProps) => React.ReactNode Callback to render custom node.  
treeActions TreeActions    
visibleNodes VisibleTreeNodes Flat list of nodes to be rendered.  
width undefined | number Width of the tree area.  

Defined in

Last Updated: 06 October, 2021