From d5ecf0a829b46fdda4e81b0cea944492b9f24c08 Mon Sep 17 00:00:00 2001 From: magistrfox <66368523+magistrfox@users.noreply.github.com> Date: Fri, 18 Jun 2021 14:23:42 +0300 Subject: [PATCH] Update documentation by my suggestion in #889 Noticing cdn install in docs because I'd to check tag in docs example but didn't see this in Installation section :) --- docs/index.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 114a31e5..4e8a296e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -11,7 +11,18 @@ To install the stable version you can use [npm](https://npmjs.org/) or [yarn](ht $ npm install react-modal $ yarn add react-modal - + +To install react-modal in React CDN app: + + - Add this CDN script tag after React CDN scripts and before your JS files (for example from [cdnjs](https://cdnjs.com/)): + + + + - Use `` tag inside your React CDN app. + ## [General Usage](#usage)