UNPKG

communication-react-19

Version:

React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)

31 lines 1.26 kB
/// <reference types="react" /> import { CommunicationParticipant, MessageProps, MessageRenderer, MessageThreadStyles, ParticipantMenuItemsCallback, SendBoxStylesProps, TypingIndicatorStylesProps } from "../../../../react-components/src"; import { AvatarPersonaDataCallback } from '../common/AvatarPersona'; import { ChatCompositeOptions } from './ChatComposite'; import { AttachmentOptions } from "../../../../react-components/src"; /** * @private */ export type ChatScreenProps = { options?: ChatCompositeOptions; onFetchAvatarPersonaData?: AvatarPersonaDataCallback; onRenderMessage?: (messageProps: MessageProps, defaultOnRender?: MessageRenderer) => JSX.Element; onRenderTypingIndicator?: (typingUsers: CommunicationParticipant[]) => JSX.Element; onFetchParticipantMenuItems?: ParticipantMenuItemsCallback; styles?: ChatScreenStyles; attachmentOptions?: AttachmentOptions; formFactor?: 'desktop' | 'mobile'; }; /** * @private */ export type ChatScreenStyles = { messageThread?: MessageThreadStyles; sendBox?: SendBoxStylesProps; typingIndicator?: TypingIndicatorStylesProps; }; /** * @private */ export declare const ChatScreen: (props: ChatScreenProps) => JSX.Element; //# sourceMappingURL=ChatScreen.d.ts.map