react-arborist
react-arborist copied to clipboard
Passing Component for Node through Tree , passing Node as Component
trafficstars
Hai,
I want to pass the react component to Node Element From Tree, so i can dynamically change the node element.
We are passing something like
<Tree className="Tree" initialData={data}> {Node} </Tree>
Is there any way to pass the Node like this
<Tree className="Tree" initialData={data}> <Node val=2 {...props} }/> </Tree>
Is this option available?