import { Check } from 'lucide-react';
import { UPLOAD_VIEW_STEPS } from './types';
import type { UploadViewStep } from './types';
interface UploadViewStepperProps {
step: UploadViewStep;
}
export function UploadViewStepper({ step }: UploadViewStepperProps) {
return (
{UPLOAD_VIEW_STEPS.map((s, i) => (
= s.num ? 'bg-primary text-primary-foreground' : 'bg-muted text-muted-foreground'}`}
>
{step > s.num ? : s.num}
= s.num ? 'text-white' : 'text-kodo-content-dim'} font-medium hidden md:block`}
>
{s.label}
{i < UPLOAD_VIEW_STEPS.length - 1 && (
)}
))}
);
}