UNPKG

660 BTypeScriptView Raw
1import type { AnimatedKeyboardInfo, AnimatedKeyboardOptions } from '../commonTypes';
2/**
3 * Lets you synchronously get the position and state of the keyboard.
4 *
5 * @param options - An additional keyboard configuration options.
6 * @returns An object with the current keyboard `height` and `state` as [shared
7 * values](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#shared-value).
8 * @see https://docs.swmansion.com/react-native-reanimated/docs/device/useAnimatedKeyboard
9 */
10export declare function useAnimatedKeyboard(options?: AnimatedKeyboardOptions): AnimatedKeyboardInfo;
11//# sourceMappingURL=useAnimatedKeyboard.d.ts.map
\No newline at end of file