UNPKG

react-toggle

Version:

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

59 lines (40 loc) 1.44 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/) as of release version 2.1.0. ## [Unreleased] ### Added - Add props documentation to README.md - Add [standardjs](http://standardjs.com/) linting - Add support for `className`-prop - Add support for swiping ### Changed - Use newer React and JavaScript language features - Use `cursor: not-allowed` on hover when disabled - Rearrange project file structure - Stop tracking compiled files - Update URLs and email address in package.json - Update URLs in README.md - Update dependencies ### Fixed - Remove syntax highlighting attempt - Don't react on hover when disabled - Fix issue with broken React ref - Fix lint errors - Don't use deprecated `React.PropTypes` API ## [2.1.1] - 2016-07-13 ### Fixed - Make SVG properties work with React - Remove unused SVG properties ## [2.1.0] - 2016-04-14 ### Changed - Update dependencies ## [2.0.1] - 2015-10-12 ### Changed - Update build ## 2.0.0 - 2015-10-12 [Unreleased]: https://github.com/aaronshaf/react-toggle/compare/v2.1.1...HEAD [2.1.1]: https://github.com/aaronshaf/react-toggle/compare/v2.1.0...v2.1.1 [2.1.0]: https://github.com/aaronshaf/react-toggle/compare/v2.0.1...v2.1.0 [2.0.1]: https://github.com/aaronshaf/react-toggle/compare/v2.0.0...v2.0.1