import { TFunction } from "next-i18next"; import Link from "next/link"; import { useLocale } from "@calcom/lib/hooks/useLocale"; type DefaultStep = { title: string; }; function Stepper(props: { href: string; step: number; steps: T[]; disableSteps?: boolean; t?: TFunction; }) { let { t } = useLocale(); if (props.t) { t = props.t; } const { href, steps } = props; return ( <> {steps.length > 1 && ( )} ); } export default Stepper;