UNPKG

antd

Version:

An enterprise-class UI design language and React-based implementation

15 lines 612 B
import _extends from 'babel-runtime/helpers/extends'; import RcCalendar from 'rc-calendar'; import MonthCalendar from 'rc-calendar/es/MonthCalendar'; import createPicker from './createPicker'; import wrapPicker from './wrapPicker'; import RangePicker from './RangePicker'; import WeekPicker from './WeekPicker'; var DatePicker = wrapPicker(createPicker(RcCalendar)); var MonthPicker = wrapPicker(createPicker(MonthCalendar), 'YYYY-MM'); _extends(DatePicker, { RangePicker: wrapPicker(RangePicker), MonthPicker: MonthPicker, WeekPicker: wrapPicker(WeekPicker, 'gggg-wo') }); export default DatePicker;