UNPKG

@botforge/widget

Version:

Official BotForge chatbot widget for easy integration into any website or web application

18 lines (17 loc) 552 B
import React from "react"; import { BotForgeMessage, BotForgeConfig } from "../types"; interface ChatWindowProps { messages: BotForgeMessage[]; onSendMessage: (content: string, type?: "text" | "file") => void; onFileUpload?: (file: File) => void; onClose: () => void; onRestart?: () => void; isLoading: boolean; isConnected: boolean; config: BotForgeConfig; error?: Error | null; isInitialized: boolean; conversationId: string | null; } export declare const ChatWindow: React.FC<ChatWindowProps>; export {};