diff --git a/extensions/react-widget/README.md b/extensions/react-widget/README.md index 8bd05f73..b923e1ab 100644 --- a/extensions/react-widget/README.md +++ b/extensions/react-widget/README.md @@ -1,6 +1,5 @@ # DocsGPT react widget - This widget will allow you to embed a DocsGPT assistant in your React app. ## Installation @@ -46,36 +45,44 @@ To link the widget to your api and your documents you can pass parameters to the - + + + + DocsGPT Widget -
+
- + ``` +##### Serve the HTML using Parcel: `parcel my-widget.html -p 3000` + To link the widget to your api and your documents you can pass parameters to the **renderDocsGPTWidget('div id', { parameters })**. ```html - + + + + DocsGPT Widget -
+
- +