mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
code style
This commit is contained in:
@@ -16,5 +16,3 @@ React.render(
|
||||
<Datepicker disabled={disabledDate} />
|
||||
, document.getElementById('components-datepicker-demo-range'));
|
||||
````
|
||||
|
||||
|
||||
|
||||
@@ -41,16 +41,16 @@ module.exports = React.createClass({
|
||||
locale={CalendarLocale}
|
||||
orient={['top', 'left']}
|
||||
showClear={true} />
|
||||
);
|
||||
return (
|
||||
<DatePicker
|
||||
trigger={<span className="rc-calendar-picker-icon" />}
|
||||
calendar={calendar}
|
||||
formatter={new DateTimeFormat(this.props.format)}
|
||||
value={this.state.value}
|
||||
onChange={this.props.onSelect}>
|
||||
<input className="rc-calendar-picker-input" />
|
||||
</DatePicker>
|
||||
);
|
||||
);
|
||||
return (
|
||||
<DatePicker
|
||||
trigger={<span className="rc-calendar-picker-icon" />}
|
||||
calendar={calendar}
|
||||
formatter={new DateTimeFormat(this.props.format)}
|
||||
value={this.state.value}
|
||||
onChange={this.props.onSelect}>
|
||||
<input className="rc-calendar-picker-input" />
|
||||
</DatePicker>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user