Optional
foldpass the return value of useFoldControls into this prop to allow external control of a tree's fold state
Optional
ona callback that is fired when one or more nodes is fired
Optional
placeholderthe element that will be rendered as a placeholder when the node is off-screen. defaults to a simple div.
Optional
data-Optional
style?: CSSPropertiesthe height of a placeholder, in pixels. this should be approximately the same height as your on-screen nodes.
the component that will be used to render the tree's nodes.
Optional
startused to indicate what the default fold state is for nodes.
a RefObject of the tree that will be rendered.
the type of tree that the component prop will be rendering