UNPKG

react-native-keyboard-controller

Version:

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

17 lines (16 loc) 575 B
import type { TurboModule } from "react-native"; export interface Spec extends TurboModule { readonly getConstants: () => { keyboardBorderRadius: number; }; setInputMode(mode: number): void; setDefaultMode(): void; preload(): void; dismiss(keepFocus: boolean, animated: boolean): void; setFocusTo(direction: string): void; viewPositionInWindow(viewTag: number): Promise<object>; addListener: (eventName: string) => void; removeListeners: (count: number) => void; } declare const _default: Spec | null; export default _default;