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, JustifyContent, TypographyVariant, AlignItems, IconColor, } from '../../../helpers/constants/design-system'; import { Icon, ICON_NAMES, ICON_SIZES } from '../../component-library'; const ConfirmationWarningModal = ({ onSubmit, onCancel }) => { const t = useI18nContext(); return ( } > {t('addEthereumChainWarningModalTitle')} {t('addEthereumChainWarningModalHeader', [ {t('addEthereumChainWarningModalHeaderPartTwo')} , ])} {t('addEthereumChainWarningModalListHeader')} ); }; ConfirmationWarningModal.propTypes = { /** * Function that approves collection */ onSubmit: PropTypes.func, /** * Function that rejects collection */ onCancel: PropTypes.func, }; export default ConfirmationWarningModal;