We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe. I would like to have an ability to style the knob itself.
Describe the solution you'd like An ability to pass styles to knob so that I can style it like this:
(white background with black border)
The text was updated successfully, but these errors were encountered:
@padsbanger hey, if you are using the styled-components, you may
const Wire = styled(Toggle)` && { input[type="checkbox"] + label::after { border:2px solid #000; width: 14px; height: 14px; } } `
and then
<Label htmlFor="toggle-9"> <Wire leftBackgroundColor="white" rightBackgroundColor="white" borderColor="black" knobColor="white" name="toggle-9" onToggle={e => console.log("onToggle", e.target.checked)} /> Right label </Label>
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem? Please describe.
I would like to have an ability to style the knob itself.
Describe the solution you'd like
![1](https://user-images.githubusercontent.com/471029/79444534-930eaf80-7fdb-11ea-8bf0-4f3a4c9666fe.png)
An ability to pass styles to knob so that I can style it like this:
(white background with black border)
The text was updated successfully, but these errors were encountered: