260617_01_ENH: 배정 테스트를 위해 개발 중도 커밋

This commit is contained in:
2026-06-17 15:56:38 +09:00
parent fcb2c7a270
commit 28da30b865
61 changed files with 5136 additions and 510 deletions

View File

@@ -0,0 +1,25 @@
"use client";
import {ReactNode} from "react";
import {Download, ImageIcon, Upload} from "lucide-react";
import {Button} from "@/components/ui/button";
export function FilePendingButton({
children,
icon = "download",
disabled = true,
onClick,
}: {
children: ReactNode;
icon?: "download" | "upload" | "image";
disabled?: boolean;
onClick?: () => void;
}) {
const Icon = icon === "upload" ? Upload : icon === "image" ? ImageIcon : Download;
return (
<Button type="button" size="xs" variant="outline" disabled={disabled} onClick={onClick}>
<Icon className="h-3 w-3" />
{children}
</Button>
);
}