livechat-widget
Version:
LiveChat Widget for Next.js applications
20 lines (19 loc) • 550 B
TypeScript
import React from 'react';
interface MessageInputProps {
onSendMessage: (content: string) => void;
isConnected: boolean;
theme?: 'light' | 'dark';
bgColor?: string;
bgColorClass?: string;
textColor?: string;
textColorClass?: string;
bgInput?: string;
bgInputClass?: string;
textInputColor?: string;
textInputColorClass?: string;
buttonBgColor?: string;
buttonBgClass?: string;
userRole?: 'admin' | 'user';
}
declare const MessageInput: React.FC<MessageInputProps>;
export default MessageInput;