mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-08 04:18:23 +08:00
19 lines
289 B
Markdown
19 lines
289 B
Markdown
---
|
|
order: 1
|
|
title: 三种大小
|
|
---
|
|
|
|
三种大小的输入框,大的用在表单中,中的为默认。
|
|
|
|
````jsx
|
|
import { DatePicker } from 'antd';
|
|
|
|
ReactDOM.render(
|
|
<div>
|
|
<DatePicker size="large" />
|
|
<DatePicker />
|
|
<DatePicker size="small" />
|
|
</div>
|
|
, mountNode);
|
|
````
|