"use client"; import { useDroppable } from "@dnd-kit/core"; import { cn } from "@/lib/utils"; import type { ReactNode } from "react"; interface KanbanColumnProps { id: string; title: string; color: string; count: number; children: ReactNode; isDoubleWidth?: boolean; headerAction?: ReactNode; } export function KanbanColumn({ id, title, color, count, children, isDoubleWidth = false, headerAction, }: KanbanColumnProps) { const { setNodeRef, isOver } = useDroppable({ id }); return (
{/* Column Header */}

{title}

{headerAction} {count}
{/* Column Content */}
*]:break-inside-avoid [&>*]:mb-2" : "space-y-2" )} > {children}
); }