react-toggle : An elegant, accessible toggle component for React. Also a glorified checkbox.. You can installing react-toggle npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install react-toggle $ sudo npm install -g react-toggle
If want to update the react-toggle package execute the command as below,
$ sudo npm update react-toggle
Update package globally,
$ npm install -g react-toggle
$ sudo git clone https://github.com/rektide/react-toggle.git
$ sudo npm install -g ./react-toggle
react-toggle@4.0.2 /usr/lib/node_modules/react-toggle
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall react-toggle
| Package Name | react-toggle |
| Version | 4.0.2 |
| Description | An elegant, accessible toggle component for React. Also a glorified checkbox. |
| Released Date | 2017-09-27T03:02:06.273Z |
| Published by | aaronshaf |
| How to Learn | https://www.npmjs.com/package/react-toggle/tutorial |