ant-design/components/time-picker/demo/disabled.md

16 lines
234 B
Markdown

# 禁用
- order: 4
禁用时间选择。
---
````jsx
import { TimePicker } from 'antd';
ReactDOM.render(
<TimePicker defaultValue="12:08:23" disabled />
, document.getElementById('components-time-picker-demo-disabled'));
````