mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-05 09:00:12 +08:00
add onInputKeyDown to react-select
This commit is contained in:
4
react-select/index.d.ts
vendored
4
react-select/index.d.ts
vendored
@@ -246,6 +246,10 @@ declare namespace ReactSelectClass {
|
||||
* onInputChange handler: function (inputValue) {}
|
||||
*/
|
||||
onInputChange?: (inputValue: string) => void;
|
||||
/**
|
||||
* onInputKeyDown handler: function (keyboardEvent) {}
|
||||
*/
|
||||
onInputKeyDown?: (event: KeyboardEvent) => void;
|
||||
/**
|
||||
* fires when the menu is scrolled to the bottom; can be used to paginate options
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user