mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-28 19:18:40 +08:00
332 B
332 B
三种大小
- order: 1
三种大小的输入框,大的用在表单中,中的为默认。
var Datepicker = antd.Datepicker;
ReactDOM.render(
<div>
<Datepicker size="large" />
<Datepicker />
<Datepicker size="small" />
</div>
, document.getElementById('components-datepicker-demo-size'));