JSPM

  • Created
  • Published
  • Downloads 23957
  • Score
    100M100P100Q146174F

m-date-picker ui component for react

Package Exports

  • rmc-date-picker
  • rmc-date-picker/assets/index.css
  • rmc-date-picker/lib/locale/en_US
  • rmc-date-picker/lib/locale/zh_CN

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rmc-date-picker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rmc-date-picker


React MDatePicker Component

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

Sauce Test Status

Screenshots

Development

npm install
npm start

Example

http://localhost:8000/examples/

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

install

rmc-date-picker

Usage

see example

API

props

name description type default
className additional css class of root dom node String ''
prefixCls prefix class String ''
date The currently selected date. String new Date()
onDateChange Date change handler. Function ''
mode The date picker mode. String 'date' enum('date', 'time', 'datetime')
minDate min date String/Date new Date('2000')
maxDate max date String/Date new Date('2030')
locale the locale of area Object import from 'rmc-date-picker/lib/locale/zh_CN'
timeZoneOffset Timezone offset in minutes. number 480 (same as locale setting)

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-date-picker is released under the MIT license.