add onInputKeyDown to react-select

This commit is contained in:
Conrad Chan
2017-02-01 19:50:03 -08:00
parent dba28e9608
commit a047ca1d6d

View File

@@ -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
*/