helfi92 / material-ui-treeview

A React tree view for material-ui.
MIT License
47 stars 21 forks source link

Node ID #10

Closed svenschaefer closed 5 years ago

svenschaefer commented 6 years ago

Beside the node value it would be useful to use a node ID, too, because the text value can be ambiguous, in case that the same text is the child value at different parents.

helfi92 commented 6 years ago

@svenschaefer Good idea! Let me know if you're interested in sending a PR.

f10l commented 6 years ago

I hope the PR #25 goes in the direction of this idea?

helfi92 commented 6 years ago

Thank you for the pull request. I'll take a look soon :)

helfi92 commented 5 years ago

Published in v3.0.2. This is a breaking change: The onLeafClick function now returns an object instead of a value.