@@ -76,9 +76,9 @@ render(<Picker />, mountNode);
76
76
| getPopupContainer | function(trigger) | | to set the container of the floating layer, while the default is to create a div element in body |
77
77
| onChange | Function(date: moment, dateString: string) | | a callback function, can be executed when the selected time is changing |
78
78
| 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 |
82
82
| direction | String: ltr or rtl | | Layout direction of picker component, it supports RTL direction too. |
83
83
84
84
### PickerPanel
@@ -103,7 +103,7 @@ render(<Picker />, mountNode);
103
103
| renderExtraFooter | (mode) => React.Node | | extra footer |
104
104
| onSelect | Function(date: moment) | | a callback function, can be executed when the selected time |
105
105
| 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 |
107
107
| direction | String: ltr or rtl | | Layout direction of picker component, it supports RTL direction too. |
108
108
109
109
### RangePicker
0 commit comments