We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbb223d commit 62d1710Copy full SHA for 62d1710
src/components/Modal.tsx
@@ -1,5 +1,5 @@
1
import { Box, css } from '@kuma-ui/core'
2
-import React, { forwardRef } from 'react'
+import React, { MouseEvent, forwardRef } from 'react'
3
4
const Modal = forwardRef<
5
HTMLDialogElement,
@@ -29,7 +29,12 @@ const Modal = forwardRef<
29
onClick={onClose}
30
onKeyDown={() => null}
31
>
32
- <Box px={48} pt={48} pb={16} onClick={e => e.stopPropagation()}>
+ <Box
33
+ px={48}
34
+ pt={48}
35
+ pb={16}
36
+ onClick={(e: MouseEvent<HTMLDivElement>) => e.stopPropagation()}
37
+ >
38
{children}
39
</Box>
40
</dialog>
0 commit comments