import { STAGE_LABELS, type Stage } from '@/lib/constants'

export function StageBadge({ stage }: { stage: string | null }) {
  if (!stage) return null
  const label = STAGE_LABELS[stage as Stage] ?? stage
  return (
    <span className="rounded bg-white/5 px-2 py-0.5 text-[11px] uppercase tracking-wide text-slatey">{label}</span>
  )
}
