mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 13:05:08 +09:00
13 lines
249 B
TypeScript
13 lines
249 B
TypeScript
import type { XYCoord } from "react-dnd";
|
|
import { type Instance } from "@webstudio-is/sdk";
|
|
|
|
export type DragData = {
|
|
instance: Instance;
|
|
currentOffset: XYCoord;
|
|
};
|
|
|
|
export type DropData = {
|
|
instance: Instance;
|
|
position: number | "end";
|
|
};
|