import type { Rect } from "../../utils/marqueeGeometry"; interface MarqueeOverlayProps { /** Elements the marquee currently intersects — outlined live before mouse-up. */ candidateRects: Rect[]; /** The marquee drag rectangle itself, or null when not marquee-selecting. */ marqueeRect: Rect | null; } /** * The marquee selection visuals: a live "candidate" outline on each element the * box currently touches, plus the dashed drag rectangle. Extracted from * DomEditOverlay to keep that file under the 600-line cap. */ export function MarqueeOverlay({ candidateRects, marqueeRect }: MarqueeOverlayProps) { return ( <> {candidateRects.map((r, i) => (