dont show closeButton if close proper not set
This commit is contained in:
parent
e7b0df8b48
commit
7916f235c6
|
@ -39,7 +39,10 @@ export default function MessageDialog({
|
|||
centered
|
||||
backdrop={attributes.staticBackdrop ? 'static' : 'true'}
|
||||
>
|
||||
<Modal.Header style={{ borderBottom: 'none' }} closeButton>
|
||||
<Modal.Header
|
||||
style={{ borderBottom: 'none' }}
|
||||
closeButton={attributes.close != null}
|
||||
>
|
||||
{attributes.title && (
|
||||
<Modal.Title>
|
||||
<strong>{attributes.title}</strong>
|
||||
|
|
Loading…
Reference in a new issue