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>

12 lines (11 loc) 729 B
import { MotionConfigState } from './types'; import { ComputedRef } from 'vue'; /** * Default motion configuration */ export declare const defaultConfig: MotionConfigState; /** * Context for sharing motion configuration with child components */ export declare const injectMotionConfig: <T extends ComputedRef<MotionConfigState> = ComputedRef<MotionConfigState>>(fallback?: T) => T extends null ? ComputedRef<MotionConfigState> : ComputedRef<MotionConfigState>, provideMotionConfig: (contextValue: ComputedRef<MotionConfigState>) => ComputedRef<MotionConfigState>, motionConfigInjectionKey: import('vue').InjectionKey<ComputedRef<MotionConfigState>>; export declare function useMotionConfig(): ComputedRef<MotionConfigState>;