import React from 'react'; export interface StepItem { label: string; description?: string; } export interface StepperProps extends React.HTMLAttributes { steps: StepItem[]; currentStep: number; // 0-indexed } export const Stepper: React.FC = ({ steps, currentStep, className = '', ...props }) => { return (
    {steps.map((step, idx) => { const isCurrent = idx === currentStep; const isCompleted = idx < currentStep; const itemClasses = [ 'qhr-step-item', isCurrent ? 'is-current' : '', isCompleted ? 'is-completed' : '', ].filter(Boolean).join(' '); return (
  1. {isCompleted ? '✓' : idx + 1}
    {step.label} {step.description && ( {step.description} )}
    {idx < steps.length - 1 &&
    }
  2. ); })}
); };