@mapbox/react-click-to-select
Version:
a higher-order component that selects elements contained within it on click
29 lines (18 loc) • 921 B
Markdown
Changelog
---
## 2.1.1
- Declare compatibility with react 17. [#17](https://github.com/mapbox/react-click-to-select/pull/17)
## 2.1.0
- Render children in a `span` by default. Specify containerElement="div" to override. [#14](https://github.com/mapbox/react-click-to-select/pull/14)
## 2.0.1
- Build after local install with `prepare` [#13](https://github.com/mapbox/react-click-to-select/pull/13)
- Bump peer compatibility for React 16 [#11](https://github.com/mapbox/react-click-to-select/pull/11)
- Fix outdated React.PropTypes bug [#10](https://github.com/mapbox/react-click-to-select/pull/10)
- Fix runtime error when setting ref element [#10](https://github.com/mapbox/react-click-to-select/pull/10)
## 2.0.0
- Update codebase to ES6
- Point main in package.json to a prebuilt version in `dist/index.js`
- Add prop-types as peer dependency.
## 1.1.1
- Allow React 15 as peer dependency.
- Start this log.