import { Upload, Loader2 } from "lucide-react";
interface ProgressCardProps {
active: boolean;
phase: "uploading" | "processing" | "complete";
label: string;
stage?: string;
percent: number;
elapsed: number;
}
export function ProgressCard({
active,
phase,
label,
stage,
percent,
elapsed,
}: ProgressCardProps) {
if (!active) return null;
const icon =
phase === "uploading" ? (