UNPKG

framer-motion

Version:

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

9 lines (8 loc) • 258 B
import { DraggableProps } from "./types"; import { VisualElement } from "../../render/types"; /** * A hook that allows an element to be dragged. * * @internal */ export declare function useDrag(props: DraggableProps, visualElement: VisualElement): void;