react-switch
react-switch copied to clipboard
A draggable toggle-switch component for React. Check out the demo at:
Add custom onHoverColor, offHoverColor, onHoverHandleColor and offHoverHandleColor as optional props. Fixes #61
I think there could be a better color validation, since 4-digit hex values are perfectly fine and offer unique colors. Ie. all the hexes below are valid: ``` #aadd #abcd...
Currently the opacity is injected as inline style and set to 0.5 when the component is disabled. I want to lower the value to 0.4, but if I set it...
Hi @markusenglund , Instead of the usual colored Switche on/off, it would be a nice feature to have a Switche with icons that are passed, even the colors must be...
Having separate props for hover colors would be beneficial, it's a small but meaningful interaction that makes the switch more lively and active from the user's perspective.
https://react-switch.netlify.com/ shows "site not found".