From a51e25dbdeb040e78b331de985fde236c75b5cd4 Mon Sep 17 00:00:00 2001 From: Shruti Sen <115914670+shruti-sen2004@users.noreply.github.com> Date: Tue, 17 Oct 2023 08:09:32 +0530 Subject: [PATCH] Update react-widget.md --- docs/pages/Extensions/react-widget.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pages/Extensions/react-widget.md b/docs/pages/Extensions/react-widget.md index 1cc1132..a31306a 100644 --- a/docs/pages/Extensions/react-widget.md +++ b/docs/pages/Extensions/react-widget.md @@ -14,9 +14,9 @@ import "docsgpt/dist/style.css"; Then you can use it like this: `` DocsGPTWidget takes 3 props: -- `apiHost` — URL of your DocsGPT API. -- `selectDocs` — documentation that you want to use for your widget (e.g. `default` or `local/docs1.zip`). -- `apiKey` — usually it's empty. +1. `apiHost` — URL of your DocsGPT API. +2. `selectDocs` — documentation that you want to use for your widget (e.g. `default` or `local/docs1.zip`). +3. `apiKey` — usually it's empty. ### How to use DocsGPTWidget with [Nextra](https://nextra.site/) (Next.js + MDX) Install your widget as described above and then go to your `pages/` folder and create a new file `_app.js` with the following content: