Skip to content

Commit

Permalink
fix: modal overlay classnames
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Shiryaev committed Sep 10, 2020
1 parent dd8c104 commit ae9ef92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const Modal: FC<ModalProps> = ({
return (
<ReactModal
overlayRef={getOverlayRef}
overlayClassName={cn(styles.overlay, { overlayClassName })}
overlayClassName={cn(styles.overlay, overlayClassName)}
className={cn(styles.modalWrapper, contentWrapperClassName)}
isOpen={isModalOpen}
onRequestClose={handleCloseModal}
Expand Down

1 comment on commit ae9ef92

@vercel
Copy link

@vercel vercel bot commented on ae9ef92 Sep 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.