react-toggle
react-toggle copied to clipboard
Is there any way to easily control the size of the toggle?
I think that controlling the size of the toggle is a common use case (in my case, I want it about 25% smaller), but I can't see any way to adjust it. Am I missing something?
Ideally, there would be a component property called "scale", or it would work that the toggle fully fits into the parent container, but you can hard-code your desired size(width and height) inside react-toggle-track and react-toggle-thumb classes.