easemob-chat-uikit 1.0.0-beta-2 → 1.0.0-beta2
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## 简介
|
|
4
4
|
|
|
5
|
-
easemob-chat-uikit 是基于环信 Chat SDK 的一款 UI 组件库,提供通用的 UI 组件,和包含聊天业务逻辑的 module 组件,以及可以完整使用的容器组件, 容器组件允许用户使用 renderX 方法来进行自定义。
|
|
5
|
+
easemob-chat-uikit 是基于环信 Chat SDK 的一款 UI 组件库,提供通用的 UI 组件,和包含聊天业务逻辑的 module 组件,以及可以完整使用的容器组件, 容器组件允许用户使用 renderX 方法来进行自定义。easemob-chat-uikit 提供 provider 来管理数据,provider 自动监听 SDK 事件,来更新数据,并驱动 UI 更新。开发者可根据实际业务需求利用该库快速搭建自定义 IM 应用。
|
|
6
6
|
|
|
7
7
|
## 技术原理
|
|
8
8
|
|
|
@@ -452,7 +452,7 @@ const ChatApp = () => {
|
|
|
452
452
|
可以通过容器组件的 renderX 方法来渲染自定义组件
|
|
453
453
|
|
|
454
454
|
```javascript
|
|
455
|
-
import {Chat, Header} from '
|
|
455
|
+
import {Chat, Header} from 'easemob-chat-uikit'
|
|
456
456
|
|
|
457
457
|
const ChatApp = () => {
|
|
458
458
|
const CustomHeader = <Header back content="Custom Header">
|