import { Badge } from "@/components/ui/badge";

interface Props {
  published: boolean;
  hasSource: boolean;
}

export default function StatusBadge({ published, hasSource }: Props) {
  if (published && hasSource) return <Badge>Published</Badge>;
  if (!published && hasSource) return <Badge variant="secondary">Draft</Badge>;
  return <Badge variant="outline">Orphan</Badge>;
}
