import type { TicketStatus } from "@/lib/types" import { cn } from "@/lib/utils" interface StatusBadgeProps { status: TicketStatus className?: string } const statusConfig: Record = { OPEN: { label: "Offen", className: "bg-status-open text-status-open-foreground", }, "IN_PROGRESS": { label: "In Bearbeitung", className: "bg-status-progress text-status-progress-foreground", }, CLOSED: { label: "Erledigt", className: "bg-status-done text-status-done-foreground", }, } export function StatusBadge({ status, className }: StatusBadgeProps) { const config = statusConfig[status] return ( {config.label} ) }