'use client';

import { BUG_STATUS_LABEL, BUG_STATUS_COLOR } from '@/lib/bug';
import type { BugStatus } from '@/lib/bug';

export function BugStatusBadge({ status }: { status: BugStatus }) {
  return (
    <span className={`inline-flex items-center rounded-full px-2 py-0.5 text-[11px] font-medium ${BUG_STATUS_COLOR[status]}`}>
      {BUG_STATUS_LABEL[status]}
    </span>
  );
}
