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