add close button on all message dialog

This commit is contained in:
Abhinav-grd 2021-05-08 10:36:04 +05:30
parent fb504c8d6f
commit 424dc21e3e

View file

@ -39,10 +39,7 @@ export default function MessageDialog({
centered
backdrop={attributes.staticBackdrop ? 'static' : 'true'}
>
<Modal.Header
style={{ borderBottom: 'none' }}
closeButton={attributes.close != null}
>
<Modal.Header style={{ borderBottom: 'none' }} closeButton>
{attributes.title && (
<Modal.Title>
<strong>{attributes.title}</strong>