Treemap onLeafClick only returns event
bdegraf opened this issue · 0 comments
bdegraf commented
Documentation here https://github.com/uber/react-vis/blob/master/docs/treemap.md says that onLeafClick "Should accept arguments (leafNode, domEvent)" but when I console.log the values returned in the callback, I only get the event.
How can I get the actual leafNode ?