ant-design/components/time-picker/demo/disabled.md
2016-11-11 16:06:11 +08:00

325 B

order title
3
zh-CN en-US
禁用 disabled

zh-CN

禁用时间选择。

en-US

A disabled state of the TimePicker.

import { TimePicker } from 'antd';
import moment from 'moment';

ReactDOM.render(
  <TimePicker defaultValue={moment('12:08:23', 'HH:mm:ss')} disabled />,
  mountNode
);