iannbing / react-simple-tree-menu

A simple React tree menu component
MIT License
137 stars 48 forks source link

Add hasNodes property to TreeNode for overriding #196

Open Vija02 opened 2 years ago

Vija02 commented 2 years ago

Allow hasNodes to be passed on TreeNode through data. My use case is to allow some nodes to be opened/expanded even when the nodes are empty.