@talkjs/react-components 0.0.29 → 0.0.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/default.cjs +1310 -0
- package/default.css +1 -1
- package/default.d.ts +573 -147
- package/default.js +14778 -2589
- package/package.json +18 -30
- package/globalConstants.js +0 -60
- package/theming.d.ts +0 -1316
- package/theming.js +0 -1369
package/README.md
CHANGED
|
@@ -8,12 +8,12 @@ To use this package, you will need a [TalkJS account](https://talkjs.com/dashboa
|
|
|
8
8
|
|
|
9
9
|
## Examples
|
|
10
10
|
|
|
11
|
-
Install [`@talkjs/react-components`](https://www.npmjs.com/package/@talkjs/react-components):
|
|
11
|
+
Install [`@talkjs/react-components`](https://www.npmjs.com/package/@talkjs/react-components) and [`@talkjs/core`](https://www.npmjs.com/package/@talkjs/core):
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
npm install @talkjs/react-components
|
|
14
|
+
npm install @talkjs/react-components @talkjs/core
|
|
15
15
|
# or
|
|
16
|
-
yarn add @talkjs/react-components
|
|
16
|
+
yarn add @talkjs/react-components @talkjs/core
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Import the `Chatbox` component and the related styling into the component where you want to have your chat UI:
|
|
@@ -35,7 +35,7 @@ Then add the `Chatbox` component:
|
|
|
35
35
|
|
|
36
36
|
Replace the `<APP_ID>` with your TalkJS app ID, which you can find in the **Settings** tab of the TalkJS dashboard.
|
|
37
37
|
|
|
38
|
-
For more details, see our [React getting started guide](https://talkjs.com/docs/
|
|
38
|
+
For more details, see our [React getting started guide](https://talkjs.com/docs/UI_Components/React/).
|
|
39
39
|
|
|
40
40
|
## Support
|
|
41
41
|
|