Skip to content

Commit 521376f

Browse files
authored
Merge pull request #82 from cometchat-pro/v3
V3
2 parents 81ba675 + c65e82d commit 521376f

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div style="width:100%">
22
<div style="width:50%;">
33
<div align="center">
4-
<img align="center" width="180" height="180" alt="CometChat" src="./Screenshots/logo.png">
5-
</div>
6-
</div>
4+
<img align="center" width="180" height="180" alt="CometChat" src="./Screenshots/logo.png">
5+
</div>
6+
</div>
77
</div>
88

99
</br></br>
@@ -51,18 +51,18 @@ CometChat Kitchen Sink Sample App (built using **CometChat UI Kit**) is a fully
5151
- Search by users and groups
5252
- Conversations List
5353
- Threaded Conversations
54-
54+
5555
## Extensions
5656

5757
[Thumbnail Generation](https://www.cometchat.com/docs/extensions/thumbnail-generation) | [Link Preview](https://www.cometchat.com/docs/extensions/link-preview) | [Rich Media Preview](https://www.cometchat.com/docs/extensions/rich-media-preview) | [Smart Replies](https://www.cometchat.com/docs/extensions/smart-replies)| [Emojis](https://www.cometchat.com/docs/extensions/emojis) | [Polls](https://www.cometchat.com/docs/extensions/polls) | [Reactions](https://www.cometchat.com/docs/extensions/reactions) | [Stickers](https://www.cometchat.com/docs/extensions/stickers)
5858

59-
<hr/>
59+
<hr/>
6060

6161
## Prerequisites
6262

6363
Before you begin, ensure you have met the following requirements:
6464

65-
- React `npm install react@17.0.2`
65+
- React `npm install react@17.0.2`
6666

6767
- React DOM `npm install react-dom@17.0.2`
6868

@@ -102,7 +102,7 @@ ___
102102
103103
## Add UI Kit to your project
104104
105-
Learn more about how to integrate [UI Kit](https://github.com/cometchat-pro/cometchat-pro-react-ui-kit/) inside your app.
105+
Learn more about how to integrate [UI Kit](https://github.com/cometchat-pro/cometchat-chat-uikit-react/) inside your app.
106106
107107
---
108108

postinstall.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ const request = require('request');
33
const extract = require('extract-zip')
44
const rimraf = require("rimraf");
55

6-
const fileName = "cometchat-pro-react-ui-kit";
6+
const fileName = "cometchat-chat-uikit-react";
77
const filePath = __dirname + "/src/" + fileName;
88

9-
const zipFileName = "cometchat-pro-react-ui-kit-master";
9+
const zipFileName = "cometchat-chat-uikit-react-master";
1010

1111
const zipName = zipFileName + ".zip";
1212
const source = __dirname + "/" + zipFileName;
1313
const destination = filePath;
1414

15-
const downloadUrl = "https://github.com/cometchat-pro/cometchat-pro-react-ui-kit/archive/master.zip";
15+
const downloadUrl = "https://github.com/cometchat-pro/cometchat-chat-uikit-react/archive/master.zip";
1616

1717

1818
const download = (uri, filename, callback) => {

src/defaultPages/App/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
CometChatGroupList,
2323
CometChatGroupListWithMessages,
2424
CometChatMessages
25-
} from '../../cometchat-pro-react-ui-kit/CometChatWorkspace/src';
25+
} from '../../cometchat-chat-uikit-react/CometChatWorkspace/src';
2626

2727
import {
2828
wrapperStyle

src/defaultPages/KitchenSinkApp/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Global } from "@emotion/react";
77
import { Redirect } from 'react-router-dom';
88
import { connect } from 'react-redux';
99

10-
import { CometChatAvatar } from '../../cometchat-pro-react-ui-kit/CometChatWorkspace/src';
10+
import { CometChatAvatar } from '../../cometchat-chat-uikit-react/CometChatWorkspace/src';
1111
import { COMETCHAT_CONSTANTS } from '../../consts';
1212

1313
import {
@@ -36,15 +36,15 @@ class KitchenSinkApp extends React.PureComponent {
3636
}
3737

3838
login = (uid) => {
39-
39+
4040
if(!uid) {
4141
uid = this.myRef.current.value;
4242
}
4343

4444
this.uid = uid;
4545
this.props.onLogin(this.uid, COMETCHAT_CONSTANTS.AUTH_KEY);
4646
}
47-
47+
4848
render() {
4949

5050
let loader = null;

0 commit comments

Comments
 (0)