UNPKG

@crossed/sheet

Version:

A Cross Platform(Android & iOS) ActionSheet with a robust and flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.

30 lines 730 B
/** * Copyright (c) Paymium. * * This source code is licensed under the MIT license found in the * LICENSE file in the root of this projects source tree. */ import React from 'react'; type ScreenRect = { screenX: number; screenY: number; width: number; height: number; }; export declare function useKeyboard(enabled: boolean): { keyboardShown: boolean; coordinates: Readonly<{ screenX: 0; screenY: 0; width: 0; height: 0; }> | { start: undefined | ScreenRect; end: ScreenRect; }; keyboardHeight: number; pauseKeyboardHandler: React.MutableRefObject<boolean>; reset: () => void; }; export {}; //# sourceMappingURL=useKeyboard.d.ts.map