React Switch Button control
A Switch control built with and for React
Demo & Example
Example: http://gfazioli.github.io/react-switch-button Live demo: Online Demo
Installation
You can use React Switch Button by using NPM and include it in your own React build process (using Browserify, etc).
npm install react-
At this point you can import react-switch-button
and its styles in your application as follows:
; // Be sure to include styles at some point, probably during your bootstrapping;
or
const SwitchButton = ;
and then include the css in your HTML page.
Of course, you can also use the standalone build by including react-switch-button.js
and react-switch-button.css
in your page. (If you do this though you'll also need to include the dependencies.) For example:
Contributing
Thanks for any your contribute.
License
MIT Licensed. Copyright (c) Giovambattista Fazioli 2017.