UNPKG

communication-react-19

Version:

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

24 lines 1.15 kB
/// <reference types="react" /> import { AttachmentMetadataInProgress } from "../../../../../acs-ui-common/src"; import { MessageThreadStrings } from '../../MessageThread'; import { ChatMessage } from '../../../types'; import { AttachmentMetadata } from "../../../../../acs-ui-common/src"; /** @private */ export type ChatMessageComponentAsRichTextEditBoxProps = { onCancel?: (messageId: string) => void; onSubmit: (text: string, attachmentMetadata?: AttachmentMetadata[]) => void; message: ChatMessage; strings: MessageThreadStrings; onPaste?: (event: { content: DocumentFragment; }) => void; onRemoveInlineImage?: (imageAttributes: Record<string, string>, messageId: string) => void; onInsertInlineImage?: (imageAttributes: Record<string, string>, messageId: string) => void; inlineImagesWithProgress?: AttachmentMetadataInProgress[]; }; /** * @private */ export declare const ChatMessageComponentAsRichTextEditBox: (props: ChatMessageComponentAsRichTextEditBoxProps) => JSX.Element; export default ChatMessageComponentAsRichTextEditBox; //# sourceMappingURL=ChatMessageComponentAsRichTextEditBox.d.ts.map