UNPKG

react-native-keyboard-controller

Version:

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

18 lines (17 loc) 506 B
import type { SharedValue } from "react-native-reanimated"; type EndVisibleCallback = (visible: boolean) => void; type Options = { scroll: SharedValue<number>; layout: SharedValue<{ width: number; height: number; }>; size: SharedValue<{ width: number; height: number; }>; inverted: boolean; onEndVisible?: EndVisibleCallback; }; export declare const useEndVisible: ({ scroll, layout, size, inverted, onEndVisible, }: Options) => void; export {};