ソースを参照

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>