UNPKG

@gluestack-ui/core

Version:

Universal UI components for React Native, Expo, and Next.js

15 lines 524 B
import { HTMLAttributes, RefObject } from 'react'; interface OverlayProps { isOpen?: boolean; onClose?: () => void; isDismissable?: boolean; shouldCloseOnBlur?: boolean; isKeyboardDismissDisabled?: boolean; shouldCloseOnInteractOutside?: (element: HTMLElement) => boolean; } interface OverlayAria { overlayProps: HTMLAttributes<HTMLElement>; } export declare function useOverlay(_props: OverlayProps, _ref: RefObject<HTMLElement>): OverlayAria; export {}; //# sourceMappingURL=useOverlay.d.ts.map