import { Step, StepData } from './Step'; export type { StepData as Step }; interface Props { /** 0-based index of the current step */ currentStepIndex: number; steps: Array; /** Callback with 0-based step index */ onStepClick?: (stepIndex: number) => void; } export function Stepper({ currentStepIndex, steps, onStepClick }: Props) { return ( ); }