UNPKG

expo-key-event

Version:

Provides an interface for reading key events such as from external bluetooth keyboards on Android, iOS and Web.

8 lines (6 loc) 139 B
export type KeyPressEvent = { key: string; }; export type ExpoKeyEventModuleEvents = { onKeyPress: (event: KeyPressEvent) => void; };