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 centered
backdrop={attributes.staticBackdrop ? 'static' : 'true'} backdrop={attributes.staticBackdrop ? 'static' : 'true'}
> >
<Modal.Header <Modal.Header style={{ borderBottom: 'none' }} closeButton>
style={{ borderBottom: 'none' }}
closeButton={attributes.close != null}
>
{attributes.title && ( {attributes.title && (
<Modal.Title> <Modal.Title>
<strong>{attributes.title}</strong> <strong>{attributes.title}</strong>