gfazioli / react-switch-button

React Switch Button control
http://gfazioli.github.io/react-switch-button/
MIT License
86 stars 36 forks source link

'checked' property is useless #19

Closed someoneHere closed 7 years ago

someoneHere commented 7 years ago

I tryin to update the check status, but the 'checked' property is useless.

gfazioli commented 7 years ago

I think that you have used a wrong property. As you can see by demo

you have to use defaultChecked instead of checked.

Let me know if I can close this issue