diff --git a/docs/index.md b/docs/index.md index 9131af21..c2f2b006 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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