@kcirtaptrick/framer-motion
Version:
A simple and powerful React animation library
37 lines (36 loc) • 895 B
TypeScript
/// <reference types="react" />
import { TransformPoint } from "../projection/geometry/types";
import { Transition } from "../types";
/**
* @public
*/
export interface MotionConfigContext {
/**
* @internal
*/
transformPagePoint: TransformPoint;
/**
* Determines whether this is a static context ie the Framer canvas. If so,
* it'll disable all dynamic functionality.
*
* @internal
*/
isStatic: boolean;
/**
* Defines a new default transition for the entire tree.
*
* @public
*/
transition?: Transition;
/**
* If true, will respect the device prefersReducedMotion setting by switching
* transform animations off.
*
* @public
*/
reducedMotion?: "always" | "never" | "user";
}
/**
* @public
*/
export declare const MotionConfigContext: import("react").Context<MotionConfigContext>;