From 62d17104319b451929409307ae940469bb13f073 Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Fri, 29 Dec 2023 14:24:17 +0900 Subject: [PATCH] fix type error --- src/components/Modal.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/Modal.tsx b/src/components/Modal.tsx index 113d853..495f86d 100644 --- a/src/components/Modal.tsx +++ b/src/components/Modal.tsx @@ -1,5 +1,5 @@ import { Box, css } from '@kuma-ui/core' -import React, { forwardRef } from 'react' +import React, { MouseEvent, forwardRef } from 'react' const Modal = forwardRef< HTMLDialogElement, @@ -29,7 +29,12 @@ const Modal = forwardRef< onClick={onClose} onKeyDown={() => null} > - e.stopPropagation()}> + ) => e.stopPropagation()} + > {children}