Skip to content
Advertisement

Tag: treeview

React treeview from JSON array

I am making a treeview from JSON using react. So far I have made a collapsible tree using this example data: But this is one object. I want to get JSON array of objects as input and generate treeview from that but I am unable to understand where to change the code. Here’s my render function: How can I change

Advertisement