Toggle switch for React
npm install @czkoudy/toggle-switch> Using CSS file made by Bootstrap Toggle: bootstrap4-toggle.css v3.6.1
> https://gitbrent.github.io/bootstrap4-toggle/
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
 
#
``bash`
npm install --save @czkoudy/toggle-switch
#
`jsx
import ToggleSwitch from '@czkoudy/toggle-switch';
return
`
#
```
| Name | Type | Required | Default | Options |
| -------- | ------- | -------- | --------- | ------------------- |
| size | string | No | "sm" | "xs" , "sm", "lg" |
| onStyle | string | No | "success" | Any Boostrap colors |
| offStyle | string | No | "danger" | Any Boostrap colors |
| onLabel | string | No | "On" | Any String |
| offLabel | string | No | "Off" | Any String |
| checked | boolean | No | false | true, false |
| width | string | No | "150px" | Any px string |
| disabled | boolean | No | false | true, false |
MIT
[stars-shield]: https://img.shields.io/github/stars/czkoudy/toggle-switch.svg?style=for-the-badge
[stars-url]: https://github.com/czkoudy/toggle-switch/stargazers
[issues-shield]: https://img.shields.io/github/issues/czkoudy/toggle-switch.svg?style=for-the-badge
[issues-url]: https://github.com/czkoudy/toggle-switch/issues