import classNames from "@calcom/lib/classNames"; interface ISteps { maxSteps: number; currentStep: number; navigateToStep: (step: number) => void; stepLabel?: (currentStep: number, maxSteps: number) => string; } const Steps = (props: ISteps) => { const { maxSteps, currentStep, navigateToStep, stepLabel = (currentStep, totalSteps) => `Step ${currentStep} of ${totalSteps}`, } = props; return (
{stepLabel(currentStep, maxSteps)}