diff --git a/src/instructions/proctored_exam/WarningModal.jsx b/src/instructions/proctored_exam/WarningModal.jsx index d8c6678e..f946e692 100644 --- a/src/instructions/proctored_exam/WarningModal.jsx +++ b/src/instructions/proctored_exam/WarningModal.jsx @@ -1,25 +1,31 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { Button, Modal } from '@edx/paragon'; +import { ActionRow, ModalDialog, Button } from '@edx/paragon'; const WarningModal = ({ isOpen, handleClose, title, body, }) => ( - {}} - renderDefaultCloseButton={false} - renderHeaderCloseButton={false} - buttons={[ - , - ]} - body={( -

- {body} -

- )} - /> + + + + + {title} + + + + {body} + + + + + + + ); WarningModal.propTypes = {