fix: closeButton not work

This commit is contained in:
JimmFly
2023-02-01 10:37:30 +08:00
parent 720aa6e6b0
commit 20ffbe348a

View File

@@ -28,7 +28,7 @@ export const ModalCloseButton = ({
<CloseIcon />
</StyledIconButton>
) : (
<IconButton>
<IconButton {...props}>
<CloseIcon />
</IconButton>
);