MCPcopy
hub / github.com/autobrr/qui / DropZone

Function DropZone

web/src/components/query-builder/DropZone.tsx:13–26  ·  view source on GitHub ↗
({ id }: DropZoneProps)

Source from the content-addressed store, hash-verified

11}
12
13export function DropZone({ id }: DropZoneProps) {
14 const { isOver, setNodeRef } = useDroppable({ id });
15
16 return (
17 <div
18 ref={setNodeRef}
19 className={cn(
20 "h-2 rounded-sm border border-transparent transition-colors",
21 isOver && "border-primary/60 bg-primary/20"
22 )}
23 aria-hidden="true"
24 />
25 );
26}

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected