TreeRendererProps Interface

Properties for TreeRenderer component.

Properties

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

Defined in

Last Updated: 14 November, 2024