Pārlūkot izejas kodu

added close button to message dialog

Abhinav-grd 4 gadi atpakaļ
vecāks
revīzija
521ee24414
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/components/MessageDialog.tsx

+ 1 - 1
src/components/MessageDialog.tsx

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