Skip to content

Commit 4ad6d1d

Browse files
committed
docs(readme): add integration tips
1 parent ce05bd2 commit 4ad6d1d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

website/src/docs/index.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ ReactDOM.render(<App />, document.getElementById('app'));
6060
- If you are using Next.js, you need to import the styles in `pages/_app.js` or `pages/_app.tsx`.
6161
- If you are using Create React App, you need to import the styles in `index.js` or `index.tsx`.
6262

63+
💡 When you integrate react-responsive-modal in your app, make sure that your Modal content is wrapped in an element so the close icon is not shown on top.
64+
6365
### Multiple modals
6466

6567
You can render multiple modals at the same time. Clicking on the overlay or pressing "esc" will only close the last modal.

0 commit comments

Comments
 (0)