motion
Version:
The Motion library for the web
4 lines (3 loc) • 428 B
TypeScript
import { AnimationOptionsWithOverrides, MotionKeyframes } from "../../dom/types";
import { AnimatedProps, AnimationContextProps } from "../types";
export declare function useExit(target: MotionKeyframes, options: AnimationOptionsWithOverrides, { exit, poses }: AnimatedProps, { exit: inheritedExit }: AnimationContextProps): import("framer-motion/types/components/AnimatePresence/use-presence").SafeToRemove | null | undefined;