Skip to content

Conversation

@onionhammer
Copy link
Contributor

@onionhammer onionhammer commented May 14, 2021

Supersedes #1210
Addresses #1209

This change should not affect any existing application of 'childColor' callback, it simply adds a second argument to the callback that can safely be ignored for existing users

image

Blend child colors with parent colors:
image

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3a8f7ce:

Sandbox Source
nivo Configuration
nivo-website Configuration

@wyze wyze changed the title Implement support for childColor callback to pass the actual child item feat(sunburst): pass child node to childColor function May 22, 2021
@wyze wyze merged commit 5580e96 into plouc:master May 22, 2021
@onionhammer onionhammer deleted the childcolors branch May 22, 2021 02:03
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