react-moveable
Version:
A React Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.
12 lines (11 loc) • 498 B
TypeScript
import MoveableGroup from "../MoveableGroup";
import { Renderer } from "../types";
import { OnDragEnd } from "@daybrush/drag";
declare const _default: {
name: string;
render(moveable: MoveableGroup, React: Renderer): any[];
dragGroupStart(moveable: MoveableGroup, { datas, clientX, clientY }: any): void;
dragGroup(moveable: MoveableGroup, { datas }: any): void;
dragGroupEnd(moveable: MoveableGroup, { inputEvent, isDrag, datas }: OnDragEnd): void;
};
export default _default;