UNPKG

motion-v

Version:

<h1 align="center"> <img width="35" height="35" alt="Motion logo" src="https://github.com/user-attachments/assets/00d6d1c3-72c4-4c2f-a664-69da13182ffc" /><br />Motion for Vue</h1>

9 lines (8 loc) 536 B
import { MotionState } from '../../state'; export interface PresenceContext { initial?: boolean; custom?: any; presenceId?: string; onMotionExitComplete?: (container: HTMLElement, state: MotionState) => void; } export declare const injectAnimatePresence: <T extends PresenceContext = PresenceContext>(fallback?: T) => T extends null ? PresenceContext : PresenceContext, provideAnimatePresence: (contextValue: PresenceContext) => PresenceContext, animatePresenceInjectionKey: import('vue').InjectionKey<PresenceContext>;