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
Screenshots

Development
npm install
npm start
Example
http://localhost:8000/examples/
online example: http://react-component.github.io/m-date-picker/
install
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
License
rmc-date-picker is released under the MIT license.