You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
548 B
16 lines
548 B
9 years ago
|
import RcCalendar from 'rc-calendar';
|
||
9 years ago
|
import MonthCalendar from 'rc-calendar/lib/MonthCalendar';
|
||
9 years ago
|
import createPicker from './createPicker';
|
||
9 years ago
|
import wrapPicker from './wrapPicker';
|
||
9 years ago
|
import RangePicker from './RangePicker';
|
||
9 years ago
|
import Calendar from './Calendar';
|
||
9 years ago
|
|
||
9 years ago
|
const DatePicker = wrapPicker(createPicker(RcCalendar));
|
||
|
const MonthPicker = wrapPicker(createPicker(MonthCalendar), 'yyyy-MM');
|
||
9 years ago
|
|
||
9 years ago
|
DatePicker.Calendar = Calendar;
|
||
9 years ago
|
DatePicker.RangePicker = wrapPicker(RangePicker, 'yyyy-MM-dd');
|
||
9 years ago
|
DatePicker.MonthPicker = MonthPicker;
|
||
9 years ago
|
|
||
9 years ago
|
export default DatePicker;
|