import { STATUS_LABELS } from '../lib/format' const STATUS_CLASSES = { active: 'bg-accent text-surface', for_sale: 'bg-accent-warm text-surface', on_hold: 'bg-text-secondary text-surface', sold: 'bg-border text-text-primary', deceased: 'bg-danger text-surface', other: 'bg-border text-text-primary', } function Badge({ status }) { return ( {STATUS_LABELS[status] ?? status} ) } export default Badge