livechat-widget
Version:
LiveChat Widget for Next.js applications
19 lines (18 loc) • 521 B
TypeScript
import React from 'react';
import { ChatMessage } from '@/types/chat';
interface MessageListProps {
messages: ChatMessage[];
userCode?: string;
currentUserCode?: string;
theme?: 'light' | 'dark';
bgColor?: string;
bgColorClass?: string;
textColor?: string;
textColorClass?: string;
currentUserColor?: string;
currentUserColorClass?: string;
adminColor?: string;
adminColorClass?: string;
}
declare const MessageList: React.FC<MessageListProps>;
export default MessageList;