Skip to content

Commit

Permalink
refactor: fixed ModalDialog body uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
mashal-m committed Jan 24, 2023
1 parent 45cb1bd commit 2705d40
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/instructions/proctored_exam/WarningModal.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { ActionRow, ModalDialog } from '@edx/paragon';
import { ActionRow, ModalDialog, ModalCloseButton } from '@edx/paragon';

const WarningModal = ({
isOpen, handleClose, title, body,
Expand All @@ -16,14 +16,14 @@ const WarningModal = ({
{title}
</ModalDialog.Title>
</ModalDialog.Header>
<ModalDialog.body>
<ModalDialog.Body>
{body}
</ModalDialog.body>
</ModalDialog.Body>
<ModalDialog.Footer>
<ActionRow>
<ModalDialog.CloseButton onClick={handleClose} variant="tertiary">
<ModalCloseButton onClick={handleClose} variant="tertiary">
Ok
</ModalDialog.CloseButton>
</ModalCloseButton>
</ActionRow>
</ModalDialog.Footer>
</ModalDialog>
Expand Down

0 comments on commit 2705d40

Please sign in to comment.