ant-design/components/time-picker/demo/disabled.md
2018-11-28 15:11:02 +08:00

324 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
);