UNPKG

@xapp/chat-widget

Version:
14 lines (13 loc) 567 B
import 'rollup-plugin-inject-process-env'; import { WidgetEnv } from "@xapp/stentor-chat-widget"; import { FC } from "react"; import { CONNECTION_STATUS_TYPE } from "../../store/ChatAction"; import { ChatWidgetMode } from "./ChatWidget"; export interface ChatWidgetContainerProps { readonly preChatFormEnabled?: boolean; readonly mode?: ChatWidgetMode; readonly config?: WidgetEnv; onConnectionStatusChange?(status: CONNECTION_STATUS_TYPE): void; } declare const ChatWidgetContainer: FC<ChatWidgetContainerProps>; export default ChatWidgetContainer;