mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
361 B
361 B
三种大小
- order: 1
三种大小的输入框,大的用在表单中,中的为默认。
// or require('antd/lib/datepicker');
var Datepicker = antd.Datepicker;
React.render(
<div>
<Datepicker size="lg" />
<Datepicker />
<Datepicker size="sm" />
</div>
, document.getElementById('components-datepicker-demo-size'));