add close button on all message dialog
This commit is contained in:
parent
fb504c8d6f
commit
424dc21e3e
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue