import { useTranslation } from "react-i18next"; import { useRouter } from "next/router"; import { faWarning } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import issueBackupKey from "@app/components/utilities/cryptography/issueBackupKey"; import { Button } from "@app/components/v2"; interface DownloadBackupPDFStepProps { email: string; password: string; name: string; } /** * This is the step of the signup flow where the user downloads the backup pdf * @param {object} obj * @param {function} obj.incrementStep - function that moves the user on to the next stage of signup * @param {string} obj.email - user's email * @param {string} obj.password - user's password * @param {string} obj.name - user's name * @returns */ export const BackupPDFStep = ({ email, password, name }: DownloadBackupPDFStepProps) => { const { t } = useTranslation(); const router = useRouter(); return (

{t("signup.step4-message")}

{t("signup.step4-description1")} {t("signup.step4-description3")}
); };