easemob-chat-uikit 2.3.1 → 2.3.2-beta.1
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/ChatUI.esm.js +6938 -6908
- package/ChatUI.js +57 -57
- package/ChatUI.umd.js +57 -57
- package/package.json +1 -1
- package/types/component/icon/const.d.ts +6 -1
- package/types/module/chatroom/Chatroom.d.ts +5 -0
package/package.json
CHANGED
|
@@ -107,6 +107,11 @@ declare enum ICON_TYPES {
|
|
|
107
107
|
PERSON_SLASH_FILL = "PERSON_SLASH_FILL",
|
|
108
108
|
CHEVRON_4_ALL_AROUND = "CHEVRON_4_ALL_AROUND",
|
|
109
109
|
CHEVRON_4_CLUSTER = "CHEVRON_4_CLUSTER",
|
|
110
|
-
BOXES = "BOXES"
|
|
110
|
+
BOXES = "BOXES",
|
|
111
|
+
THREE_CHART = "THREE_CHART",
|
|
112
|
+
PERSON_3LINES_FILL = "PERSON_3LINES_FILL",
|
|
113
|
+
BAR_SQUARE_FILL = "BAR_SQUARE_FILL",
|
|
114
|
+
DOC_LOCK = "DOC_LOCK",
|
|
115
|
+
BOX_UP_ARROW = "BOX_UP_ARROW"
|
|
111
116
|
}
|
|
112
117
|
export { ICON_TYPES };
|
|
@@ -5,6 +5,7 @@ import { MsgListProps } from '../chat/MessageList';
|
|
|
5
5
|
import { ChatroomMessageActionConfig } from '../chatroomMessage';
|
|
6
6
|
import { BroadcastProps } from '../../component/broadcast';
|
|
7
7
|
import { ChatroomInfo } from '../store/AddressStore';
|
|
8
|
+
import { MessageRenderer } from '../chat/MessageList';
|
|
8
9
|
export declare let reportType: Record<string, string>;
|
|
9
10
|
export interface ChatroomProps {
|
|
10
11
|
prefix?: string;
|
|
@@ -27,6 +28,10 @@ export interface ChatroomProps {
|
|
|
27
28
|
chatroomId: string;
|
|
28
29
|
reportType?: Record<string, string>;
|
|
29
30
|
messageActionConfig?: ChatroomMessageActionConfig;
|
|
31
|
+
customMessageRenderers?: {
|
|
32
|
+
txt?: MessageRenderer;
|
|
33
|
+
custom?: MessageRenderer;
|
|
34
|
+
};
|
|
30
35
|
}
|
|
31
36
|
declare let Chatroom: (props: ChatroomProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
37
|
export { Chatroom };
|