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>

17 lines (16 loc) 664 B
import { LayoutGroupState } from '../components/context'; import { PresenceContext } from '../components/animate-presence/presence'; import { MotionConfigState } from '../components/motion-config/types'; import { Options } from '../types'; export interface MotionContext { layoutGroup: LayoutGroupState; presenceContext: PresenceContext; config: MotionConfigState; } /** * Merge motion props with context values (layout group, presence, config). * Shared by useMotionState (component) and v-motion directive. */ export declare function resolveMotionProps(props: Options, context: MotionContext): Options & { presenceContext: PresenceContext; };