'use client'; import { Card, CardContent, CardHeader } from '@/components/ui/card'; import { Clock, User } from 'lucide-react'; import type { TaskCard as TaskCardType } from '@/types/kanban'; interface TaskCardProps { task: TaskCardType; isDragging?: boolean; } export function TaskCard({ task, isDragging = false }: TaskCardProps) { const priorityColors = { Low: 'bg-blue-100 text-blue-700', Medium: 'bg-yellow-100 text-yellow-700', High: 'bg-orange-100 text-orange-700', Urgent: 'bg-red-100 text-red-700', }; return (

{task.title}

{task.priority}
{task.description && (

{task.description}

)}
{task.estimatedHours && (
{task.estimatedHours}h
)} {task.assigneeId && (
Assigned
)}
); }