Neutrinos Peludos Magnéticos

    react-range-proptypes

    1.0.0 • Public • Published

    Install

    npm install react-range-proptypes

    Usage

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

    Install

    npm i react-range-proptypes

    DownloadsWeekly Downloads

    515

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • mrcheater