Added missing onKey(Down|Up) input property definitions (#1318)
parent
da85a69e52
commit
4ff1cc9734
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue