diff --git a/src/bootstrap/Modal.js b/src/bootstrap/Modal.js index a1e65c0..efdf6a8 100644 --- a/src/bootstrap/Modal.js +++ b/src/bootstrap/Modal.js @@ -88,18 +88,21 @@ export function Modal({ shown, setShown, scrollable, size, children }) { ModalHeader.propTypes = { setShown: PropTypes.func.isRequired, title: PropTypes.string.isRequired, + showCloseButton: PropTypes.bool, }; -export function ModalHeader({ setShown, title }) { +export function ModalHeader({ setShown, title, showCloseButton = true }) { return (