Merge pull request #14397 from conradchan/cchan/reactSelectKeyInputDown

add onInputKeyDown to react-select
This commit is contained in:
Arthur Ozga
2017-02-06 15:02:25 -08:00
committed by GitHub
+4
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
*/