UNPKG

livechat-widget

Version:

LiveChat Widget for Next.js applications

36 lines (35 loc) 1 kB
import React from "react"; import { UserInfo } from "../../types/chat"; export interface ChatWidgetClientProps { 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; borderWidth?: string | number; borderColor?: string; borderColorClass?: string; borderRadius?: string | number; hasBorder?: boolean; apiUrl?: string; wsUrl?: string; } declare const ChatWidgetClient: React.FC<ChatWidgetClientProps>; export default ChatWidgetClient;