Added missing onKey(Down|Up) input property definitions (#1318)

old
codeaid 2017-04-02 13:13:16 +01:00 committed by Javi Velasco
parent da85a69e52
commit 4ff1cc9734
1 changed files with 8 additions and 0 deletions

View File

@ -108,6 +108,14 @@ export interface InputProps extends ReactToolbox.Props {
* Callback function that is fired when component is focused.
*/
onFocus?: Function;
/**
* Callback function that is fired when a key is pressed down.
*/
onKeyDown?: Function;
/**
* Callback function that is fired when a key is released.
*/
onKeyUp?: Function;
/**
* Callback function that is fired when a key is pressed.
*/