File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,18 @@ To install the stable version you can use [npm](https://npmjs.org/) or [yarn](ht
1111
1212 $ npm install react-modal
1313 $ yarn add react-modal
14-
14+
15+ To install react-modal in React CDN app:
16+
17+ - Add this CDN script tag after React CDN scripts and before your JS files (for example from [ cdnjs] ( https://cdnjs.com/ ) ):
18+
19+ <script src="https://cdnjs.cloudflare.com/ajax/libs/react-modal/3.14.3/react-modal.min.js "
20+ integrity="sha512-MY2jfK3DBnVzdS2V8MXo5lRtr0mNRroUI9hoLVv2/yL3vrJTam3VzASuKQ96fLEpyYIT4a8o7YgtUs5lPjiLVQ=="
21+ crossorigin="anonymous"
22+ referrerpolicy="no-referrer"></script >
23+
24+ - Use ` <ReactModal> ` tag inside your React CDN app.
25+
1526
1627## [ General Usage] ( #usage )
1728
You can’t perform that action at this time.
0 commit comments