提交 56fb20b7 编写于 作者: A afc163

Fix date-picker style prop

上级 6526468f
......@@ -115,7 +115,7 @@ function createPicker(TheCalendar, defaultFormat) {
pickerClass += ' ant-calendar-picker-open';
}
return (
<span className={pickerClass}>
<span className={pickerClass} style={this.props.style}>
<DatePicker
transitionName={this.props.transitionName}
disabled={this.props.disabled}
......@@ -138,7 +138,6 @@ function createPicker(TheCalendar, defaultFormat) {
onChange={this.handleInputChange}
value={value && this.getFormatter().format(value)}
placeholder={placeholder}
style={this.props.style}
className={`ant-calendar-picker-input ant-input${sizeClass}`} />
<span className="ant-calendar-picker-icon" />
</span>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册