UNPKG

@connectycube/chat-widget

Version:

A customizable React chat widget built on the ConnectyCube platform, enabling real-time messaging, calls, and user engagement in any web app.

32 lines 1.42 kB
import * as React from 'react'; import { type AvatarProps } from './avatar'; import { type FormattedDateProps } from './formatted-date'; import { type StatusSentProps } from './status-sent'; interface ChatBubbleProps extends React.ComponentProps<'div'> { onView?: () => void; isLast?: boolean; date?: FormattedDateProps['date']; language?: FormattedDateProps['language']; formattedDateProps?: FormattedDateProps; } interface ChatBubbleMessageProps extends ChatBubbleProps { fromMe: boolean; sameSenderAbove: boolean; title?: string; senderName?: string; senderAvatar?: AvatarProps['src']; statusSent?: StatusSentProps['status']; avatarProps?: AvatarProps; bubbleProps?: React.ComponentProps<'div'>; titleProps?: React.ComponentProps<'span'>; statusSentProps?: StatusSentProps; } interface ChatBubbleInfoProps extends ChatBubbleProps { info?: string | undefined; iconElement?: React.ReactNode; infoProps?: React.ComponentProps<'span'>; } declare const ChatBubbleMessage: React.NamedExoticComponent<Omit<ChatBubbleMessageProps, "ref"> & React.RefAttributes<HTMLDivElement>>; declare const ChatBubbleInfo: React.NamedExoticComponent<Omit<ChatBubbleInfoProps, "ref"> & React.RefAttributes<HTMLDivElement>>; export { ChatBubbleMessage, ChatBubbleInfo, type ChatBubbleMessageProps, type ChatBubbleInfoProps }; //# sourceMappingURL=chat-bubble.d.ts.map