UNPKG

@gluestack-ui/utils

Version:

Utility functions and hooks for gluestack-ui

15 lines 475 B
type IParams = { enabled?: boolean; callback: () => any; }; export declare const keyboardDismissHandlerManager: { push: (handler: () => any) => () => void; length: () => number; pop: () => (() => any) | undefined; }; /** * Handles attaching callback for Escape key listener on web and Back button listener on Android */ export declare const useKeyboardDismissable: ({ enabled, callback }: IParams) => void; export {}; //# sourceMappingURL=index.d.ts.map