import React, { useState } from 'react'; import { useHistory } from 'react-router-dom'; import PropTypes from 'prop-types'; import { TwoStepProgressBar, twoStepStages, } from '../../../components/app/step-progress-bar'; import Box from '../../../components/ui/box'; import Button from '../../../components/ui/button'; import Typography from '../../../components/ui/typography'; import { FONT_WEIGHT, TEXT_ALIGN, TYPOGRAPHY, } from '../../../helpers/constants/design-system'; import { ONBOARDING_CREATE_PASSWORD_ROUTE } from '../../../helpers/constants/routes'; import { useI18nContext } from '../../../hooks/useI18nContext'; import ZENDESK_URLS from '../../../helpers/constants/zendesk-url'; import SrpInput from '../../../components/app/srp-input'; export default function ImportSRP({ submitSecretRecoveryPhrase }) { const [secretRecoveryPhrase, setSecretRecoveryPhrase] = useState(''); const history = useHistory(); const t = useI18nContext(); return (
{t('accessYourWalletWithSRP')}
{t('accessYourWalletWithSRPDescription', [ {t('learnMoreUpperCase')} , ])}
); } ImportSRP.propTypes = { submitSecretRecoveryPhrase: PropTypes.func, };