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