"use client" import { cn } from "@/app/lib/utils" interface StepIndicatorProps { steps: { id: number; title: string; subtitle?: string }[] currentStep: number className?: string } export function StepIndicator({ steps, currentStep, className }: StepIndicatorProps) { return (
{steps.map((step) => (
step.id ? "bg-blue-100 text-blue-600" : "bg-gray-200 text-gray-500", )} > {step.id}
{step.title}
{step.subtitle &&
{step.subtitle}
}
))}
) }