UNPKG

livechat-widget

Version:

LiveChat Widget for Next.js applications

31 lines (30 loc) 823 B
import React from "react"; import { UserInfo } from "../../types/chat"; export interface ChatWidgetProps { roomCode: string; appId: string; roomName?: string; theme?: "light" | "dark"; bgColor?: string; bgColorClass?: string; textColor?: string; textColorClass?: string; bgInput?: string; bgInputClass?: string; textInputColor?: string; textInputColorClass?: string; currentUserColor?: string; currentUserColorClass?: string; adminColor?: string; adminColorClass?: string; buttonBgColor?: string; buttonBgClass?: string; userInfo?: UserInfo; userCode?: string; width?: string | number; height?: string | number; apiUrl?: string; wsUrl?: string; } declare const ChatWidget: React.FC<ChatWidgetProps>; export default ChatWidget;