@vimeo/iris
Version:
Vimeo Design System
15 lines (14 loc) • 457 B
TypeScript
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;
};
};