|
|
|
@ -43,16 +43,18 @@ module.exports = React.createClass({
|
|
|
|
|
orient={['top', 'left']}
|
|
|
|
|
defaultValue={defaultCalendarValue}
|
|
|
|
|
showTime={this.props.showTime}
|
|
|
|
|
prefixCls="ant-calendar"
|
|
|
|
|
showClear={false} />
|
|
|
|
|
);
|
|
|
|
|
return (
|
|
|
|
|
<Datepicker
|
|
|
|
|
trigger={<span className="rc-calendar-picker-icon" />}
|
|
|
|
|
trigger={<span className="ant-calendar-picker-icon" />}
|
|
|
|
|
calendar={calendar}
|
|
|
|
|
formatter={new DateTimeFormat(this.props.format)}
|
|
|
|
|
value={this.state.value}
|
|
|
|
|
prefixCls="ant-calendar-picker"
|
|
|
|
|
onChange={this.props.onSelect}>
|
|
|
|
|
<input placeholder={this.props.placeholder} className="rc-calendar-picker-input" />
|
|
|
|
|
<input placeholder={this.props.placeholder} className="ant-calendar-picker-input" />
|
|
|
|
|
</Datepicker>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|