import { Loader2 } from "lucide-react"; import { useTranslation } from "react-i18next"; export default function ButtomStepTwo({ setStep, isLoading, formData, type }) { const { t } = useTranslation(); return ( <> setStep(1)} className="flex-1 py-3 px-4 bg-white/5 border border-gray-700 rounded-xl text-gray-300 hover:bg-white/10 transition-colors"> {t("register.previous")} {isLoading ? ( {t("register.registering")} ) : ( t("register.createAccount") )} > ); }