'use client'; import { cn } from '@/lib/cn'; import type { Task } from '@/lib/types'; interface TaskCardProps { task: Task; onClick: (task: Task) => void; } const priorityColors: Record = { critical: 'text-error', high: 'text-warning', medium: 'text-blue-400', low: 'text-text-muted', }; const statusBadgeColors: Record = { 'not-started': 'bg-gray-600/20 text-gray-300', 'in-progress': 'bg-blue-600/20 text-blue-400', blocked: 'bg-error/20 text-error', done: 'bg-success/20 text-success', cancelled: 'bg-gray-600/20 text-gray-500', }; export function TaskCard({ task, onClick }: TaskCardProps): React.ReactElement { return ( ); }