jonahfang / m-select-list

React Mobile Select List Component

Home Page:http://react-component.github.io/m-select-list/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rmc-select-list


React Mobile SelectList 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-select-list/

install

rmc-select-list

Usage

see example

API

props

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) -

Test Case

npm test
npm run chrome-test

Coverage

npm run coverage

open coverage/ dir

License

rmc-select-list is released under the MIT license.

About

React Mobile Select List Component

http://react-component.github.io/m-select-list/


Languages

Language:JavaScript 69.1%Language:CSS 30.9%