react-aichatbot-widget 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ npm install react react-dom tailwindcss lucide-react
|
|
|
37
37
|
|
|
38
38
|
```jsx
|
|
39
39
|
import React from "react";
|
|
40
|
-
import ChatBotWidget from "
|
|
40
|
+
import ChatBotWidget from "react-aichatbot-widget";
|
|
41
41
|
|
|
42
42
|
function App() {
|
|
43
43
|
return (
|
|
@@ -45,7 +45,15 @@ function App() {
|
|
|
45
45
|
{/*add a namespace for chatbot and chatbot url*/}
|
|
46
46
|
<ChatBotWidget
|
|
47
47
|
pineconeNamespace=''
|
|
48
|
-
url=''
|
|
48
|
+
url=''
|
|
49
|
+
primaryColor="" // hex color code
|
|
50
|
+
secondaryColor="" // hex color code
|
|
51
|
+
fontColor="" // hex color code
|
|
52
|
+
backgroundColor="" // hex color code
|
|
53
|
+
position="" // left or right
|
|
54
|
+
name="" // any name
|
|
55
|
+
subTitle="" // any subtitle
|
|
56
|
+
welcomeText="" // any welcome text
|
|
49
57
|
/>
|
|
50
58
|
</div>
|
|
51
59
|
);
|