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

support className #10

Open
waynebrantley opened this issue Nov 15, 2018 · 1 comment
Open

support className #10

waynebrantley opened this issue Nov 15, 2018 · 1 comment

Comments

@waynebrantley
Copy link

<SwitchButton className="blah" />

should output that className along with your normal output of classes.

@willianjusten
Copy link
Contributor

Oh, that's true. We have:

<div className={disabled ? 'switch-button disabled' : 'switch-button'}>

We can introduce a separated variable to concanate all classes.

I'm not working on this project anymore but if you want to send a PR.

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

No branches or pull requests

2 participants