React Component Material Design Switch.
$ yarn add react-md-switch
importSwitchfrom'react-md-switch';<Switchid={'switch'}checked={true}onChange={this.onChange}/>| Name | Description | Default/Required | Type |
|---|---|---|---|
| id | Unique identifier. | required | string |
| checked | To initialize the state. | required | bool |
| onChange | To handle state | optional | bool |