UNPKG

@vimeo/iris

Version:
15 lines (14 loc) 457 B
import { PortalConfig } from './usePortal_DEPRECATED.types'; export declare function useMountAnimations({ onOpen, onClose, forceActive, animation, }: PortalConfig, { childRef, screenRef }: { childRef: any; screenRef: any; }): { open: (e: any) => void; close: (e: any) => void; active: boolean; animationProps: { onAnimationStart: () => void; onTransitionEnd: () => void; onAnimationEnd: () => void; }; };