import React from 'react'; import PropTypes from 'prop-types'; import { translate as __ } from 'foremanReact/common/I18n'; const DeleteManifestModalText = ({ simpleContentAccess }) => (

{__('Are you sure you want to delete the manifest?')}

{simpleContentAccess && ( <>

{__('Note: Deleting a subscription manifest is STRONGLY discouraged.')}

{__('This action should only be taken for debugging purposes.')}

)} {!simpleContentAccess && ( <>

{__(`Note: Deleting a subscription manifest is STRONGLY discouraged. Deleting a manifest will:`)}

{__(`This action should only be taken in extreme circumstances or for debugging purposes.`)}

)}
); DeleteManifestModalText.propTypes = { simpleContentAccess: PropTypes.bool, }; DeleteManifestModalText.defaultProps = { simpleContentAccess: false, }; export default DeleteManifestModalText;