Skip to content

Commit

Permalink
fix: modal onClose
Browse files Browse the repository at this point in the history
  • Loading branch information
hexnickk4997 committed Nov 13, 2023
1 parent c08c2b1 commit d864c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const Modal = forwardRef(
)

return (
<ModalOverlay in={open} {...rest} ref={ref}>
<ModalOverlay in={open} ref={ref} onClose={onClose} {...rest}>
<ModalStyle $center={center}>
<ModalBaseStyle>
{modalHeader}
Expand Down

0 comments on commit d864c4c

Please sign in to comment.