From f2c328d21209a9be2d29c10accde9a52790b474a Mon Sep 17 00:00:00 2001 From: Siddhant Rai Date: Sat, 1 Jun 2024 14:10:12 +0530 Subject: [PATCH] fix: empty types.d.ts generated during build + updated README.md --- extensions/react-widget/README.md | 27 +- extensions/react-widget/package-lock.json | 6651 ++++++----------- extensions/react-widget/package.json | 4 +- .../src/components/DocsGPTWidget.tsx | 2 +- extensions/react-widget/src/main.tsx | 1 + 5 files changed, 2179 insertions(+), 4506 deletions(-) diff --git a/extensions/react-widget/README.md b/extensions/react-widget/README.md index 8bd05f7..b923e1a 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 -
+
- +