UNPKG

livechat-widget

Version:

LiveChat Widget for Next.js applications

27 lines (26 loc) 767 B
import React from 'react'; interface LiveChatNextWidgetProps { roomCode: string; appId: string; roomName?: string; theme?: 'light' | 'dark'; position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'; buttonText?: string; buttonIcon?: string; width?: number; height?: number; bgColor?: string; textColor?: string; bgInput?: string; textInputColor?: string; currentUserColor?: string; onReady?: () => void; onOpen?: () => void; onClose?: () => void; onMessage?: (message: Record<string, unknown>) => void; username?: string; profile_image?: string; userCode?: string; } declare const LiveChatNextWidget: React.FC<LiveChatNextWidgetProps>; export default LiveChatNextWidget;