Skip to content

xshua06/rmc-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rmc-picker


React Mobile Picker Component

NPM version build status Test coverage gemnasium deps 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

npm test
npm run chrome-test

Coverage

npm run coverage

open coverage/ dir

License

rmc-picker is released under the MIT license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published