markusenglund / react-switch

A draggable toggle-switch component for React. Check out the demo at:
https://react-switch.netlify.com/
MIT License
1.33k stars 101 forks source link

Disabled doesn't reflect the state of checked prop #38

Closed dmt0 closed 5 years ago

dmt0 commented 5 years ago

First of all thanks for the awesome component!

Issue: When switch is disabled, it looks as if checked is false, even if it's actually true. Also it would be great to have a disabledColor prop.

dmt0 commented 5 years ago

Sorry, my error...