UNPKG

easemob-chat-uikit

Version:

![Static Badge](https://img.shields.io/badge/platform-React-green) ![Static Badge](https://img.shields.io/badge/language-typescript-green) ![GitHub commit activity](https://img.shields.io/github/commit-activity/y/easemob/Easemob-UIKit-web) ![GitHub last c

21 lines (20 loc) 885 B
import React, { FC, ReactNode } from 'react'; import { ChatSDK } from '../SDK'; import { renderUserProfileProps } from '../baseMessage'; import { CurrentConversation } from '../store/ConversationStore'; import { BaseMessageProps } from '../baseMessage'; import { NoticeMessageBody } from '../noticeMessage/NoticeMessage'; export interface MsgListProps { prefix?: string; className?: string; style?: React.CSSProperties; isThread?: boolean; renderMessage?: (message: ChatSDK.MessageBody | NoticeMessageBody) => ReactNode; renderUserProfile?: (props: renderUserProfileProps) => React.ReactNode; conversation?: CurrentConversation; messageProps?: BaseMessageProps; onOpenThreadPanel?: (threadId: string) => void; onRtcInviteMessageClick?: (message: ChatSDK.MessageBody) => void; } declare let MessageList: FC<MsgListProps>; export { MessageList };