Skip to Content
API컴포넌트 API

컴포넌트

DragContainer

type Props = { containerRef: React.RefObject<HTMLDivElement | null>; children: React.ReactNode; onDrop?: (e: React.DragEvent) => void; onDragOver?: (e: React.DragEvent) => void; };

DraggableItem

type Props = { position: { x: number; y: number }; isDragging: boolean; handleStartDrag: (e: React.PointerEvent<HTMLDivElement>) => void; children: React.ReactNode; };

DraggingItem

type Props = { position: { x: number; y: number }; children: React.ReactNode; };
Last updated on