1.0.5 • Published 8 years ago

react-multiselect-revolunet v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

react-multiselect-revolunet

npm license github-issues Circle CI build status

simple search + multi-selection

nodei.co

demo

Install

npm install --save react-multiselect-revolunet

Usage

let props = {
  choices: [
    {
      text: 'Paris',
      value: 'PAR'
    },{
      text: 'New York',
      value: 'NYC'
    },{
      text: 'London',
      value: 'LDN'
    }, {
      text: 'Marrakech',
      value: 'MRK'
    }, {
      text: 'Singapour',
      value: 'SNG'
    }, {
      text: 'Bangkok',
      value: 'BKK'
    }, {
      text: 'Mirleft',
      value: 'MIR'
    }, {
      text: 'Shenzen',
      value: 'SHE'
    }, {
      text: 'Los Angeles',
      value: 'LA'
    }
  ],
  checked: ['LDN', 'PAR'],
  onChange: selection => {
    console.log('selection', selection);
  }
}
return <ReactMultiselect { ...props }/>;

Scripts

  • npm run test : rackt test
  • npm run test-chrome : ./node_modules/.bin/testem -l Chrome
  • npm run start : rackt server
  • npm run readme : node-readme

Dependencies

PackageVersionDev
node-readme0.1.9
rackt-cli-revolunet^0.5.10
react^0.14
react-dom^0.14

Contributing

Contributions welcome; Please submit all pull requests the against master branch. If your pull request contains JavaScript patches or features, you should include relevant unit tests. Thanks!

Author

Julien Bouquillon julien@bouquillon.com http://github.com/revolunet

License

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago