|
|
@ -62,6 +62,8 @@ function createPicker(TheCalendar, defaultFormat) {
|
|
|
|
transitionName="slide-up" />
|
|
|
|
transitionName="slide-up" />
|
|
|
|
: null;
|
|
|
|
: null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const disabledTime = this.props.showTime ? this.props.disabledTime : null;
|
|
|
|
|
|
|
|
|
|
|
|
const calendarClassName = classNames({
|
|
|
|
const calendarClassName = classNames({
|
|
|
|
['ant-calendar-time']: this.props.showTime,
|
|
|
|
['ant-calendar-time']: this.props.showTime,
|
|
|
|
['ant-calendar-month']: MonthCalendar === TheCalendar,
|
|
|
|
['ant-calendar-month']: MonthCalendar === TheCalendar,
|
|
|
@ -71,6 +73,7 @@ function createPicker(TheCalendar, defaultFormat) {
|
|
|
|
<TheCalendar
|
|
|
|
<TheCalendar
|
|
|
|
formatter={this.getFormatter()}
|
|
|
|
formatter={this.getFormatter()}
|
|
|
|
disabledDate={this.props.disabledDate}
|
|
|
|
disabledDate={this.props.disabledDate}
|
|
|
|
|
|
|
|
disabledTime={disabledTime}
|
|
|
|
locale={locale.lang}
|
|
|
|
locale={locale.lang}
|
|
|
|
timePicker={timePicker}
|
|
|
|
timePicker={timePicker}
|
|
|
|
defaultValue={defaultCalendarValue}
|
|
|
|
defaultValue={defaultCalendarValue}
|
|
|
|