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>

8 lines (7 loc) 439 B
import { FeatureBundle } from '../../features/dom-animation'; import { Ref } from 'vue'; export type LazyMotionContext = { features: Ref<Partial<FeatureBundle>>; strict: boolean; }; export declare const useLazyMotionContext: <T extends LazyMotionContext = LazyMotionContext>(fallback?: T) => T extends null ? LazyMotionContext : LazyMotionContext, lazyMotionContextProvider: (contextValue: LazyMotionContext) => LazyMotionContext;