UNPKG

converse-ai-support-library

Version:

A React component library for floating contact buttons (email, chat, call)

29 lines (28 loc) 900 B
import { default as React } from 'react'; import { Message } from '../../types/Chatbot'; interface ChatInterfaceProps { showClose?: boolean; onClose?: () => void; currentDate: string; messages: Message[]; isTyping: boolean; inputValue: string; className?: string; onInputChange: (e: React.ChangeEvent<HTMLInputElement>) => void; onInputKeyPress: (e: React.KeyboardEvent) => void; onSend: () => void; onQuickMessage: (message: string) => void; onMinimize?: () => void; onExpand?: () => void; messagesEndRef: React.RefObject<HTMLDivElement>; isSendDisabled: boolean; agentName: string; agentImageUrl?: string; loading: boolean; showMinimize?: boolean; showExpand?: boolean; minimized?: boolean; onHeaderClick?: () => void; } declare const ChatInterface: React.FC<ChatInterfaceProps>; export default ChatInterface;