import type { OrderStatus } from "@/lib/types"; const statusStyles: Record = { pending: "bg-yellow-100 text-yellow-800 border-yellow-300", purchased: "bg-blue-100 text-blue-800 border-blue-300", delivered: "bg-green-100 text-green-800 border-green-300", closed: "bg-gray-100 text-gray-600 border-gray-300", }; export function StatusBadge({ status }: { status: OrderStatus }) { return ( {status} ); }