bkrem / react-d3-tree

:deciduous_tree: React component to create interactive D3 tree graphs
https://bkrem.github.io/react-d3-tree
MIT License
1.06k stars 268 forks source link

Can I change the key of children in data list from 'children' to be any key I want something like have props called valueKey or something like that , thanks #504

Open AhmedAljohi opened 4 months ago

AhmedAljohi commented 4 months ago

Thank you for taking the time to report an issue with react-d3-tree!

Feel free to delete any questions that do not apply.

Are you reporting a bug, or opening a feature request?

[Replace with your answer]

What is the actual behavior/output?

[Replace with your answer if relevant]

What is the behavior/output you expect?

[Replace with your answer if relevant]

Can you consistently reproduce the issue/create a reproduction case (e.g. on https://codesandbox.io)?

[Replace with your answer if relevant]

What version of react-d3-tree are you using?

[Replace with your answer]

If react-d3-tree crashed with a traceback, please paste the full traceback below.

[Replace with your traceback]