mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-17 02:18:07 +08:00
20 lines
334 B
Markdown
20 lines
334 B
Markdown
|
# 三种大小
|
||
|
|
||
|
- order: 1
|
||
|
|
||
|
三种大小的输入框,大的用在表单中,中的为默认。
|
||
|
|
||
|
---
|
||
|
|
||
|
````jsx
|
||
|
import { DatePicker } from 'antd';
|
||
|
|
||
|
ReactDOM.render(
|
||
|
<div>
|
||
|
<DatePicker size="large" />
|
||
|
<DatePicker />
|
||
|
<DatePicker size="small" />
|
||
|
</div>
|
||
|
, document.getElementById('components-date-picker-demo-size'));
|
||
|
````
|