react-range-proptypes

react range proptypes

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-range-proptypes
1.0.07 years ago7 years agoMinified + gzip package size for react-range-proptypes in KB

Readme

Install
npm install react-range-proptypes
Usage
```javascript import { range } from 'react-range-proptypes';
class Component extends React.Component {
render() {
    return (
        <div>
            {a + b}
        </div>
    );
}
}
Component.propTypes = {
a : range(0, 1),
b : range(0, 1).isRequired
};