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 { Display, FlexDirection, FontWeight, JustifyContent, TextVariant, AlignItems, IconColor, } from '../../../helpers/constants/design-system'; import { Icon, IconName, IconSize, Text } 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;