import { useT } from '../lib/i18n/I18nContext'; interface ProgressIndicatorProps { currentStep: number; totalSteps: number; } const ProgressIndicator = ({ currentStep, totalSteps }: ProgressIndicatorProps) => { const { t } = useT(); return (
{Array.from({ length: totalSteps }).map((_, index) => { const isCurrent = index === currentStep; return (
); })}
); }; export default ProgressIndicator;