浏览代码

added close button to message dialog

Abhinav-grd 4 年之前
父节点
当前提交
521ee24414
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/MessageDialog.tsx

+ 1 - 1
src/components/MessageDialog.tsx

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