You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
268 B
16 lines
268 B
9 years ago
|
# 不展示秒
|
||
|
|
||
|
- order: 2
|
||
|
|
||
|
不展示秒,也不允许选择。
|
||
|
|
||
|
---
|
||
|
|
||
|
````jsx
|
||
|
import { TimePicker } from 'antd';
|
||
|
|
||
|
ReactDOM.render(
|
||
|
<TimePicker defaultValue="12:08:23" format="HH:mm" />
|
||
|
, document.getElementById('components-time-picker-demo-without-seconds'));
|
||
|
````
|