import React from 'react'; import { useTranslation } from 'react-i18next'; import { Button, ModalBody, ModalHeader, ModalFooter } from '@carbon/react'; interface UnpublishModalProps { closeModal: () => void; onUnpublishForm: () => void; } const UnpublishFormModal: React.FC = ({ closeModal, onUnpublishForm }) => { const { t } = useTranslation(); return ( <>

{t( 'unpublishExplainerText', 'Unpublishing a form means you can no longer access it from your frontend. Unpublishing forms does not delete their associated schemas, it only affects whether or not you can access them in your frontend.', )}

); }; export default UnpublishFormModal;