import { useDroppable } from "@dnd-kit/core" import { SortableContext, verticalListSortingStrategy, } from "@dnd-kit/sortable" import { Card } from "@/components/ui/card" import { TaskCard } from "./task-card" import { cn } from "@/lib/utils" import { LucideIcon } from "lucide-react" interface Task { id: string title: string dueDate: string progress: number status: string } interface TaskColumnProps { id: string title: string icon: LucideIcon tasks: Task[] } export function TaskColumn({ id, title, icon: Icon, tasks }: TaskColumnProps) { const { setNodeRef, isOver } = useDroppable({ id, }) const taskIds = tasks.map(task => task.id) return (

{title}

{tasks.map((task) => ( ))}
) }