Skip to content

Commit

Permalink
docs(readme): add integration tips
Browse files Browse the repository at this point in the history
  • Loading branch information
pradel committed Nov 15, 2020
1 parent ce05bd2 commit 4ad6d1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/src/docs/index.mdx
Expand Up @@ -60,6 +60,8 @@ ReactDOM.render(<App />, document.getElementById('app'));
- If you are using Next.js, you need to import the styles in `pages/_app.js` or `pages/_app.tsx`.
- If you are using Create React App, you need to import the styles in `index.js` or `index.tsx`.

💡 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.

### Multiple modals

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

0 comments on commit 4ad6d1d

Please sign in to comment.