open-index/open-npm huggingface dataset:
npm package: @mapbox/react-range
Description: A react component that makes input type=range compatible across all browsers
Author: Bobby Sudekum
Latest version: 0.0.7

# React Range

A react component that makes `<input type='range' />` compatible across all browsers.

### Why?

It is a [known issue](https://github.com/facebook/react/issues/554) 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:

```jsx
var Range = require('@mapbox/react-range');

<Range
  className='slider'
  onChange={this.handleOnChange}
  type='range'
  value={20}
  min={0}
  max={100} />
```