UNPKG

react-native-keyboard-controller

Version:

Keyboard manager which works in identical way on both iOS and Android

19 lines (16 loc) 472 B
import type { EventWithName, FocusedInputLayoutChangedEvent, FocusedInputLayoutHandlerHook, KeyboardHandlerHook, NativeEvent, } from "./types"; const NOOP = () => () => {}; export const useAnimatedKeyboardHandler: KeyboardHandlerHook< Record<string, unknown>, EventWithName<NativeEvent> > = NOOP; export const useFocusedInputLayoutHandler: FocusedInputLayoutHandlerHook< Record<string, unknown>, EventWithName<FocusedInputLayoutChangedEvent> > = NOOP;