@ronak27/superwise-chatbot-package 1.0.5 → 1.0.6
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 +7 -3
- package/dist/react-chatbot.es.js +428 -232
- package/dist/react-chatbot.umd.js +194 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,12 +22,15 @@ A customizable **React chatbot component** that can be embedded in any React pro
|
|
|
22
22
|
Install via npm:
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
npm install chatbot-package
|
|
26
|
-
|
|
25
|
+
npm install @ronak27/superwise-chatbot-package
|
|
27
26
|
```
|
|
28
27
|
|
|
29
28
|
## **Usage**
|
|
30
|
-
|
|
29
|
+
|
|
30
|
+
Styles are auto-loaded by the package (no manual CSS import needed). Use the component:
|
|
31
|
+
|
|
32
|
+
```jsx
|
|
33
|
+
import { Chatbot } from "@ronak27/superwise-chatbot-package";
|
|
31
34
|
|
|
32
35
|
function App() {
|
|
33
36
|
return (
|
|
@@ -44,3 +47,4 @@ function App() {
|
|
|
44
47
|
}
|
|
45
48
|
|
|
46
49
|
ReactDOM.createRoot(document.getElementById("root")).render(<App />);
|
|
50
|
+
```
|