Skip to content

Commit

Permalink
Adds testId prop and useage to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
callmenick authored and diasbruno committed Apr 30, 2020
1 parent 4a120a9 commit bd07d56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ import ReactModal from 'react-modal';
data={
{ background: "green" }
/* Additional data attributes (optional). */}

testId={
""
/* String testId that renders a data-testid attribute in the DOM,
useful for testing. */}

overlayRef={
setOverlayRef
Expand Down

0 comments on commit bd07d56

Please sign in to comment.