import * as React from 'react' import { Check } from 'lucide-react' export interface StepConfig { label: string description?: string } export interface StepIndicatorProps { steps: StepConfig[] currentIndex: number className?: string } export function StepIndicator({ steps, currentIndex, className = '' }: StepIndicatorProps) { return (
    {steps.map((step, index) => { const isCompleted = index < currentIndex const isActive = index === currentIndex const isLast = index === steps.length - 1 return (
  1. {isCompleted ? : index + 1}
    {step.label}
    {!isLast && (
    )}
  2. ) })}
) }