Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hierarchy] add render prop to <Tree /> + <Cluster /> #163

Merged
merged 3 commits into from
Oct 5, 2017

Conversation

hshoff
Copy link
Member

@hshoff hshoff commented Oct 5, 2017

More control over rendering. Fix for #162

<Tree root={someHierarchy}>
  {({ links, descendants, data, root }) => {
    // up to you
  }}
</Tree>

cc @techniq

@hshoff hshoff added this to the v0.0.141 milestone Oct 5, 2017
@techniq
Copy link
Collaborator

techniq commented Oct 5, 2017

👍 thanks. I'll try to take a look at this with react-move in the next few days and let you know how it goes. I'm going out of town this weekend so it might be early next week before I get a chance.

@hshoff hshoff merged commit 6980d9a into master Oct 5, 2017
@hshoff hshoff deleted the harry-hierarchy-rndr branch October 5, 2017 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants