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.
Files changed (2) hide show
  1. package/README.md +10 -2
  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 "reactai-chatbot-widget";
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
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-aichatbot-widget",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "A React ChatBot Widget",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",