@kcirtaptrick/framer-motion
Version:
A simple and powerful React animation library
10 lines (9 loc) • 402 B
TypeScript
/// <reference types="react" />
import { VisualElement } from "../../render/types";
export interface MotionContextProps {
visualElement?: VisualElement;
initial?: false | string | string[];
animate?: string | string[];
}
export declare const MotionContext: import("react").Context<MotionContextProps>;
export declare function useVisualElementContext(): VisualElement<any, any> | undefined;