UNPKG

expo-key-event

Version:

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

11 lines 447 B
import { requireNativeModule } from "expo"; let Module; try { Module = requireNativeModule("ExpoKeyEvent"); } catch (e) { console.error(e); throw new Error("ExpoKeyEventModule not available. Make sure you are not using Expo Go. Check https://github.com/tlow92/expo-key-event?tab=readme-ov-file#error-cannot-find-native-module-expokeyevent for more information."); } export default Module; //# sourceMappingURL=ExpoKeyEventModule.js.map