react-ui-tree
react-ui-tree copied to clipboard
Possible to collapse/expand by clicking node name instead of caret?
Currently using this to show folder structure of local machine folders. Currently clicking the caret icons to expand/collapse folders, and it becomes a bit tedious. Is it possible to expand the node simply by clicking on its name (node.module) in the instead of having to click the caret?

I want to be able to click within the red box to expand that node, currently only the green box(caret) does this.