We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd193f2 commit d5ecf0aCopy full SHA for d5ecf0a
1 file changed
docs/index.md
@@ -11,7 +11,18 @@ To install the stable version you can use [npm](https://npmjs.org/) or [yarn](ht
11
12
$ npm install react-modal
13
$ yarn add react-modal
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
26
27
## [General Usage](#usage)
28
0 commit comments