Skip to content

pingan1927/m-picker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rmc-picker


React Mobile Picker Component

NPM version build status Test coverage gemnasium deps node version npm download

Screenshots

Development

npm install
npm start

Example

http://localhost:8000/examples/

online example: http://react-component.github.io/m-picker/

install

rmc-picker

Usage

see example

API

Picker props

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

Test Case

http://localhost:8000/tests/runner.html?coverage

Coverage

http://localhost:8000/node_modules/rc-server/node_modules/node-jscover/lib/front-end/jscoverage.html?w=http://localhost:8000/tests/runner.html?coverage

License

rmc-picker is released under the MIT license.

Packages

No packages published

Languages

  • JavaScript 92.6%
  • CSS 7.4%