gfazioli / react-switch-button

React Switch Button control

Home Page:http://gfazioli.github.io/react-switch-button/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

defaultChecked should be a boolean

Kingles opened this issue · comments

see: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement
Specifically:

HTMLInputElement.defaultChecked
Is a Boolean representing the default state of a radio button or checkbox as originally specified in HTML that created this object.

commented

+1

commented

+1

done in v2.0.0