0.2.3 • Published 10 years ago

react-datepicker-cn v0.2.3

Weekly downloads
53
License
-
Repository
github
Last release
10 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

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago