import React from 'react'; import { useTranslation } from 'next-i18next'; import PropTypes from 'prop-types'; import { Modal, ModalHeader, ModalBody, ModalFooter, } from 'reactstrap'; class NotificationDeleteModal extends React.PureComponent { render() { const { t, notificationForConfiguration } = this.props; return ( delete_foreverDelete Global Notification Setting

{t('notification_settings.delete_notification_pattern_desc1', { path: notificationForConfiguration.triggerPath })}

{t('notification_settings.delete_notification_pattern_desc2')}

); } } NotificationDeleteModal.propTypes = { t: PropTypes.func.isRequired, // i18next isOpen: PropTypes.bool.isRequired, onClose: PropTypes.func.isRequired, onClickSubmit: PropTypes.func.isRequired, notificationForConfiguration: PropTypes.object.isRequired, }; // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types const NotificationDeleteModalWrapperFC = (props) => { const { t } = useTranslation('admin'); return ; }; export default NotificationDeleteModalWrapperFC;