ignore folder

This commit is contained in:
2026-04-21 06:30:48 +07:00
commit ca00b36f19
70 changed files with 3871 additions and 0 deletions

View File

@ -0,0 +1,12 @@
import Badge from "../ui/Badge";
import { WorkflowStatus } from "@/types/api";
export default function StatusBadge({ status }: { status: WorkflowStatus }) {
const map = {
PENDING: "warning",
APPROVED: "success",
REJECTED: "danger",
DRAFT: "info"
} as const;
return <Badge variant={map[status]}>{status}</Badge>;
}