ant-design/components/datepicker/demo/size.md

20 lines
333 B
Markdown
Raw Normal View History

2015-08-03 16:16:07 +08:00
# 三种大小
- order: 1
2015-08-03 16:57:03 +08:00
三种大小的输入框,大的用在表单中,中的为默认。
2015-08-03 16:16:07 +08:00
---
````jsx
import { Datepicker } from 'antd';
2015-08-03 16:16:07 +08:00
2015-10-20 16:47:55 +08:00
ReactDOM.render(
2015-08-03 16:16:07 +08:00
<div>
2015-08-10 15:39:50 +08:00
<Datepicker size="large" />
2015-08-03 16:57:03 +08:00
<Datepicker />
2015-08-10 15:39:50 +08:00
<Datepicker size="small" />
2015-08-03 16:16:07 +08:00
</div>
, document.getElementById('components-datepicker-demo-size'));
````