React Mobile Picker Component
npm install
npm start
http://localhost:8000/examples/
online example: http://react-component.github.io/m-picker/
see example
name | description | type | default |
---|---|---|---|
className | additional css class of root dom node | String | |
prefixCls | prefix class | String | '' |
defaultSelectedValue | default selected values corresponding to the input data above | string/number | |
selectedValue | current selected values corresponding to the input data above | string/number | |
onValueChange | fire when picker change | Function(value) | |
children | array of picker items | [{label, value}] | |
pure | whether children is immutable | bool | true |
npm test
npm run chrome-test
npm run coverage
open coverage/ dir
rmc-picker is released under the MIT license.