@@ -76,9 +76,9 @@ render(<Picker />, mountNode);
7676| getPopupContainer | function(trigger) | | to set the container of the floating layer, while the default is to create a div element in body |
7777| onChange | Function(date: moment, dateString: string) | | a callback function, can be executed when the selected time is changing |
7878| onOpenChange | Function(open: boolean ) | | called when open/close picker |
79- | onFocus | (event: React .FocusEvent<HTMLInputElement >) => void | | called like input's on focus |
80- | onBlur | (event: React .FocusEvent<HTMLInputElement >) => void | | called like input's on blur |
81- | onKeyDown | (event: React .KeyboardEvent<HTMLInputElement >, preventDefault: () => void) => void | | input on keydown event |
79+ | onFocus | (event: React .FocusEvent\ < HTMLInputElement>) => void | | called like input's on focus |
80+ | onBlur | (event: React .FocusEvent\ < HTMLInputElement>) => void | | called like input's on blur |
81+ | onKeyDown | (event: React .KeyboardEvent\ < HTMLInputElement>, preventDefault: () => void) => void | | input on keydown event |
8282| direction | String: ltr or rtl | | Layout direction of picker component, it supports RTL direction too. |
8383
8484### PickerPanel
@@ -103,7 +103,7 @@ render(<Picker />, mountNode);
103103| renderExtraFooter | (mode) => React.Node | | extra footer |
104104| onSelect | Function(date: moment) | | a callback function, can be executed when the selected time |
105105| onPanelChange | Function(value: moment, mode) | | callback when picker panel mode is changed |
106- | onMouseDown | (event: React .MouseEvent<HTMLInputElement >) => void | | callback when executed onMouseDown evnent |
106+ | onMouseDown | (event: React .MouseEvent\ < HTMLInputElement>) => void | | callback when executed onMouseDown evnent |
107107| direction | String: ltr or rtl | | Layout direction of picker component, it supports RTL direction too. |
108108
109109### RangePicker
0 commit comments