mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 07:09:55 +08:00
406 B
406 B
三种大小
- order: 2
三种大小的输入框,大的用在表单中,中的为默认。
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>
, document.getElementById('components-time-picker-demo-size'));