React Mobile SelectList Component
npm install
npm start
http://localhost:8000/examples/
online example: http://react-component.github.io/m-select-list/
see example
name | description | type | default |
---|---|---|---|
className | additional css class of root dom node | String | '' |
prefixCls | prefix class | String | 'rmc-select-list' |
showCurrentSelected | whether show selected item | bool | true |
showQuickSearchBar | whether show quick search bar | bool | true |
locale | the locale of area | Object | import from 'rmc-select-list/lib/locale/zh_CN' |
data | The data of list | array | - |
value | current selected value | string | - |
defaultValue | default current selected value | string | - |
onChange | select item | Function(value, item) | - |
npm test
npm run chrome-test
npm run coverage
open coverage/ dir
rmc-select-list is released under the MIT license.