mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-12-03 10:33:17 +00:00
react-widget
This commit is contained in:
29
extensions/react-widget/README.md
Normal file
29
extensions/react-widget/README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# DocsGPT react widget
|
||||
|
||||
|
||||
THis widget will allow you to embed a DocsGPT assistant in your react app.
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
npm install docsgpt
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
import { DocsGPTWidget } from "docsgpt";
|
||||
import "docsgpt/dist/style.css";
|
||||
|
||||
const App = () => {
|
||||
return <DocsGPTWidget />;
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
## Our github
|
||||
|
||||
[DocsGPT](https://github.com/arc53/DocsGPT)
|
||||
|
||||
You can find the source code in the extensions/react-widget folder.
|
||||
|
||||
Reference in New Issue
Block a user