mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
docs: fix typo
This commit is contained in:
parent
5f80e50d31
commit
f434772466
@ -26,7 +26,7 @@ import moment from 'moment';
|
|||||||
| defaultValue | to set default time | [moment](http://momentjs.com/) | - |
|
| defaultValue | to set default time | [moment](http://momentjs.com/) | - |
|
||||||
| value | to set time | [moment](http://momentjs.com/) | - |
|
| value | to set time | [moment](http://momentjs.com/) | - |
|
||||||
| open | whether to popup panel | boolean | false |
|
| open | whether to popup panel | boolean | false |
|
||||||
| onOpenChange | a callback function which will be called while panel opening/closing | (status: boolean): void | 无 |
|
| onOpenChange | a callback function which will be called while panel opening/closing | (open: boolean): void | - |
|
||||||
| placeholder | display when there's no value | string | "Select a time" |
|
| placeholder | display when there's no value | string | "Select a time" |
|
||||||
| onChange | a callback function, can be executed when the selected time is changing | function(time: moment, timeString: string): void | - |
|
| onChange | a callback function, can be executed when the selected time is changing | function(time: moment, timeString: string): void | - |
|
||||||
| format | to set the time format | string | "HH:mm:ss" |
|
| format | to set the time format | string | "HH:mm:ss" |
|
||||||
|
@ -14,7 +14,7 @@ export interface TimePickerProps {
|
|||||||
open?: boolean;
|
open?: boolean;
|
||||||
format?: string;
|
format?: string;
|
||||||
onChange?: (time: moment.Moment, timeString: string) => void;
|
onChange?: (time: moment.Moment, timeString: string) => void;
|
||||||
onOpenChange?: (status: boolean) => void;
|
onOpenChange?: (open: boolean) => void;
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
placeholder?: string;
|
placeholder?: string;
|
||||||
hideDisabledOptions?: boolean;
|
hideDisabledOptions?: boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user