import React, { useState, useContext } from 'react'; import PropTypes from 'prop-types'; import { useHistory } from 'react-router-dom'; import { useDispatch } from 'react-redux'; import { useI18nContext } from '../../../hooks/useI18nContext'; import Button from '../../../components/ui/button'; import Popover from '../../../components/ui/popover'; import Box from '../../../components/ui/box'; import Typography from '../../../components/ui/typography'; import { AlignItems, IconColor, FLEX_DIRECTION, FONT_WEIGHT, JustifyContent, TypographyVariant, } from '../../../helpers/constants/design-system'; import { setSeedPhraseBackedUp } from '../../../store/actions'; import Checkbox from '../../../components/ui/check-box'; import { ONBOARDING_COMPLETION_ROUTE } from '../../../helpers/constants/routes'; import { MetaMetricsEventCategory, MetaMetricsEventName, } from '../../../../shared/constants/metametrics'; import { MetaMetricsContext } from '../../../contexts/metametrics'; import { Icon, IconName, IconSize, } from '../../../components/component-library'; export default function SkipSRPBackup({ handleClose }) { const [checked, setChecked] = useState(false); const t = useI18nContext(); const history = useHistory(); const dispatch = useDispatch(); const trackEvent = useContext(MetaMetricsContext); return ( } > {t('skipAccountSecurity')} ); } SkipSRPBackup.propTypes = { handleClose: PropTypes.func, };