Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/@dnd-kit/core.ts>useDroppable

Deno-powered framework for building business web apps
Go to Latest
function useDroppable
import { useDroppable } from "https://deno.land/x/netzo@0.3.91/deps/@dnd-kit/core.ts";

Returns

{ active: import("../store/index.d.ts").Active | null; rect: import("https://esm.sh/v128/@types/react@18.2.38/X-ZS9yZWFjdCxyZWFjdC1kb20/index.d.ts").MutableRefObject<ClientRect | null>; isOver: boolean; node: import("https://esm.sh/v128/@types/react@18.2.38/X-ZS9yZWFjdCxyZWFjdC1kb20/index.d.ts").MutableRefObject<HTMLElement | null>; over: import("../store/index.d.ts").Over | null; setNodeRef: (element: HTMLElement | null) => void; }