ant-design/components/time-picker/demo/disabled.md
2017-01-19 15:22:53 +08:00

25 lines
327 B
Markdown

---
order: 3
title:
zh-CN: 禁用
en-US: disabled
---
## zh-CN
禁用时间选择。
## en-US
A disabled state of the `TimePicker`.
````__react
import { TimePicker } from 'antd';
import moment from 'moment';
ReactDOM.render(
<TimePicker defaultValue={moment('12:08:23', 'HH:mm:ss')} disabled />
, mountNode);
````