import React from 'react'; import PropTypes from 'prop-types'; import { useI18nContext } from '../../../hooks/useI18nContext'; import Popover from '../../ui/popover'; import Box from '../../ui/box'; import Button from '../../ui/button'; import Typography from '../../ui/typography'; import { DISPLAY, FLEX_DIRECTION, FONT_WEIGHT, JUSTIFY_CONTENT, TYPOGRAPHY, ALIGN_ITEMS, } from '../../../helpers/constants/design-system'; const ConfirmationWarningModal = ({ onSubmit, onCancel }) => { const t = useI18nContext(); return ( } > {t('addEthereumChainWarningModalTitle')} {t('addEthereumChainWarningModalHeader', [ {t('addEthereumChainWarningModalHeaderPartTwo')} , ])} {t('addEthereumChainWarningModalListHeader')}
  • {t('addEthereumChainWarningModalListPointOne')}
  • {t('addEthereumChainWarningModalListPointTwo')}
  • {t('addEthereumChainWarningModalListPointThree')}
); }; ConfirmationWarningModal.propTypes = { /** * Function that approves collection */ onSubmit: PropTypes.func, /** * Function that rejects collection */ onCancel: PropTypes.func, }; export default ConfirmationWarningModal;