-
Notifications
You must be signed in to change notification settings - Fork 100
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
Allow styling using other units #81
Comments
Having the same issue is there any way to set width/height with CSS? |
Since these props are used to calculate the handle position internally I don't it would be possible to let the library user specify height="10em" for example. One idea would be to have a separate prop called |
Yes, that would be very useful! |
We're trying to use react-switch in one of our projects & we've hit a bit of a snag with scaling the switch. Most of our layout & sizing is done with rem units, which we change at different breakpoints to let us do responsive design, but react-switch only allows us to set the width/height in px values. Is supporting other units on the roadmap?
The text was updated successfully, but these errors were encountered: