import type { JobStatus } from "../types";
import { StatusIcon } from "./StatusIcon";

export function StatusBadge({ status }: { status: JobStatus }) {
  return (
    <span className={`badge ${status}`}>
      <StatusIcon status={status} /> {status}
    </span>
  );
}
