import type { ProposalStatus } from '@/lib/types' const STATUS_STYLE: Record = { draft: 'text-muted-foreground bg-muted', open: 'text-primary bg-primary/10', decided: 'text-blue-600 bg-blue-50', withdrawn: 'text-muted-foreground bg-muted', expired: 'text-orange-600 bg-orange-50', } export function ProposalStatusBadge({ status }: { status: ProposalStatus }) { return ( {status.replace(/_/g, ' ')} ) }