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

Pass children down to Checkboard #547

Closed
BernardoFBBraga opened this issue Oct 4, 2018 · 2 comments
Closed

Pass children down to Checkboard #547

BernardoFBBraga opened this issue Oct 4, 2018 · 2 comments

Comments

@BernardoFBBraga
Copy link

I'd like to use checkboard as a background for a button.

e.g.

<Checkboard>
        <button/>
</Checkboard>

This would be very simple if https://github.com/casesandberg/react-color/blob/master/src/components/common/Checkboard.js passed down the children prop to the div

Would that be ok?

@casesandberg
Copy link
Owner

Sure. Feel free to open up a PR with the change.

@Saumya29
Copy link

Saumya29 commented Oct 3, 2019

Can I take this? @casesandberg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants