Package Exports
- @mapbox/react-range
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 (@mapbox/react-range) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React Range
A react component that makes <input type='range' />
compatible across all browsers.
Why?
It is a known issue the onChange
event does not work in IE. This seeks to be a simple drop in replacement for any <input type='range' />
and still have the onChange
event fire in IE.
Usage
You can pass in any props
and className
s as necessary:
var Range = require('@mapbox/react-range');
<Range
className='slider'
onChange={this.handleOnChange}
type='range'
value={20}
min={0}
max={100} />