"use client" import { CheckIcon } from "lucide-react" import { cn } from "@/app/lib/utils" interface Step { id: string name: string description?: string } interface StepIndicatorProps { steps: Step[] currentStep: number onStepClick?: (index: number) => void } export function StepIndicator({ steps, currentStep, onStepClick }: StepIndicatorProps) { return (
{step.description}
)} {index !== steps.length - 1 && ( )}