Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
Expose ids to the container so I can add infinite scrolling
  • Loading branch information
audree1 authored Sep 21, 2021
1 parent 61c3493 commit b711384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react-responsive-modal/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export const Modal = React.forwardRef(
>
<div
className={cx(classes.overlay, classNames?.overlay)}
data-testid="overlay"
id="overlay"
aria-hidden={true}
style={{
animation: `${overlayAnimation} ${animationDuration}ms`,
Expand All @@ -323,7 +323,7 @@ export const Modal = React.forwardRef(
classNames?.modalContainer
)}
style={styles?.modalContainer}
data-testid="modal-container"
id="modal-container"
onClick={handleClickOverlay}
>
<div
Expand Down

0 comments on commit b711384

Please sign in to comment.