Skip to content

Treemap onLeafClick only returns event #1429

@bdegraf

Description

@bdegraf

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions