@data-netmonk/mona-chat-widget 2.1.29 → 2.1.31
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 +4 -4
- package/package.json +3 -7
package/README.md
CHANGED
|
@@ -8,20 +8,20 @@ Chat widget package developed by Netmonk data & solution team to be imported in
|
|
|
8
8
|
|
|
9
9
|
1. Install package
|
|
10
10
|
```
|
|
11
|
-
npm install @
|
|
11
|
+
npm install @data-netmonk/mona-chat-widget
|
|
12
12
|
```
|
|
13
13
|
2. Import styles on your `App.jsx` or `index.jsx`
|
|
14
14
|
|
|
15
15
|
```jsx
|
|
16
|
-
import "@
|
|
16
|
+
import "@data-netmonk/mona-chat-widget/dist/style.css";
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
3. Import & use component
|
|
20
20
|
|
|
21
21
|
```jsx
|
|
22
|
-
import { ChatWidget } from "@
|
|
22
|
+
import { ChatWidget } from "@data-netmonk/mona-chat-widget";
|
|
23
23
|
|
|
24
|
-
<ChatWidget type={"prime"} userId={"1234"} sourceId={"1"}/>;
|
|
24
|
+
<ChatWidget type={"prime"} userId={"1234"} sourceId={"1"} />;
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
---
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@data-netmonk/mona-chat-widget",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.31",
|
|
5
5
|
"description": "Mona Chat Widget Component Library",
|
|
6
6
|
"author": "Haziq Abiyyu Mahdy",
|
|
7
7
|
"type": "module",
|
|
@@ -81,11 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"repository": {
|
|
83
83
|
"type": "git",
|
|
84
|
-
"url": "
|
|
84
|
+
"url": ""
|
|
85
85
|
},
|
|
86
|
-
"license": "ISC"
|
|
87
|
-
"bugs": {
|
|
88
|
-
"url": "https://bitbucket.org/ketitik/chat-widget-package/issues"
|
|
89
|
-
},
|
|
90
|
-
"homepage": "https://bitbucket.org/ketitik/chat-widget-package#readme"
|
|
86
|
+
"license": "ISC"
|
|
91
87
|
}
|