import React from 'react'; import PropTypes from 'prop-types'; import { useI18nContext } from '../../../hooks/useI18nContext'; import { Display, FlexDirection, FontWeight, TextVariant, AlignItems, IconColor, TextAlign, } from '../../../helpers/constants/design-system'; import { Box, Button, BUTTON_SIZES, BUTTON_VARIANT, Icon, IconName, IconSize, Modal, ModalContent, ModalHeader, ModalOverlay, Text, } from '../../component-library'; 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;