react-native-windows
Version:
React Native for Windows
18 lines (17 loc) • 522 B
TypeScript
/**
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
* @format
*/
import { IKeyboardEvent, IHandledKeyboardEvent } from '../View/ViewPropTypes';
/**
* @deprecated
*/
export interface IKeyboardProps {
onKeyDown?: (args: IKeyboardEvent) => void;
onKeyDownCapture?: (args: IKeyboardEvent) => void;
onKeyUp?: (args: IKeyboardEvent) => void;
onKeyUpCapture?: (args: IKeyboardEvent) => void;
keyDownEvents?: IHandledKeyboardEvent[];
keyUpEvents?: IHandledKeyboardEvent[];
}