JSPM

  • Created
  • Published
  • Downloads 209819
  • Score
    100M100P100Q156898F
  • License MIT

An elegant, accessible toggle component for React. Also a glorified checkbox.

Package Exports

  • react-toggle
  • react-toggle/style.css

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-toggle) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

An elegant, accessible toggle component for React. Also a glorified checkbox.

See usage and examples.

Installation

npm install react-toggle

Include the component's CSS.

Development

npm install
npm run dev

index.es6.js transpiles to index.js.

Build

npm run build

License

MIT