diff --git a/docs/pages/Extensions/react-widget.md b/docs/pages/Extensions/react-widget.md index 6368899..94e6c23 100644 --- a/docs/pages/Extensions/react-widget.md +++ b/docs/pages/Extensions/react-widget.md @@ -51,6 +51,59 @@ export default function MyApp({ Component, pageProps }) { ) } ``` +### How to use DocsGPTWidget with HTML +```html + + + + + + + DocsGPT Widget + + +
+ + + + + +``` +To link the widget to your api and your documents you can pass parameters to the renderDocsGPTWidget('div id', { parameters }). +```html + + + + + + + DocsGPT Widget + + +
+ + + + + +``` For more information about React, refer to this [link here](https://react.dev/learn)