File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed
src/components/overlays/Dialog Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -292,20 +292,18 @@ const DialogContent = forwardRef(function DialogContent(
292292 data-type = { type }
293293 data-size = { size }
294294 >
295- < div data-element = "DialogContainer" >
296- { dismissButton }
295+ { dismissButton }
297296
298- < SlotProvider slots = { slots } >
299- { isDismissable && (
300- < CloseButton
301- icon = { closeIcon || < CloseIcon /> }
302- label = { formatMessage ( 'dismiss' ) }
303- onPress = { ( ) => onDismiss && onDismiss ( ) }
304- />
305- ) }
306- { children }
307- </ SlotProvider >
308- </ div >
297+ < SlotProvider slots = { slots } >
298+ { isDismissable && (
299+ < CloseButton
300+ icon = { closeIcon || < CloseIcon /> }
301+ label = { formatMessage ( 'dismiss' ) }
302+ onPress = { ( ) => onDismiss && onDismiss ( ) }
303+ />
304+ ) }
305+ { children }
306+ </ SlotProvider >
309307 </ DialogElement >
310308 ) ;
311309} ) ;
You can’t perform that action at this time.
0 commit comments