0.2.3 • Published 9 years ago

react-datepicker-cn v0.2.3

Weekly downloads
53
License
-
Repository
github
Last release
9 years ago

react-datepicker

Datepicker component for react 支持重大节日显示,不可用日期设置

demo: http://xuluxi.github.io/react-datepicker/

npm.io

Configuration

  • date : (Date object) default selected date
  • unavailableAfter : (Date object) can't be selected after that date
  • unavailableBefore : (Date object) can't be selected before that date
  • disabled : (Boolean) can't be used
  • showToday : (Boolean) show '今天'
  • showHoliday : (Boolean) show holidays in china

Usage

npm: npm install react-datepicker-cn The css is in assets folder, I have not pack it in JS, you should add it by youself;

var React = require('react');
var DatePicker = require('react-datepicker-cn');

React.render(<DatePicker date={ new Date() } />, document.body);

```jsx
0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago