easemob-chat-uikit
Version:
   ![GitHub last c
21 lines (20 loc) • 885 B
TypeScript
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 };