UNPKG

framer-motion

Version:

An open source and production-ready motion library for React on the web

5 lines (4 loc) • 250 B
export declare type Lock = (() => void) | false; export declare function createLock(name: string): () => Lock; export declare function getGlobalLock(drag: boolean | "x" | "y" | "lockDirection"): Lock; export declare function isDragActive(): boolean;