UNPKG

communication-react-19

Version:

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

37 lines 1.38 kB
import React, { ReactNode } from 'react'; import { BaseCustomStyles } from '../../types'; import { RichTextEditorComponentRef, RichTextEditorStyleProps } from './RichTextEditor'; import { RichTextSendBoxStrings } from './RichTextSendBox'; /** * @private */ export interface RichTextInputBoxComponentStylesProps extends BaseCustomStyles { } /** * @private */ export interface RichTextInputBoxComponentProps { placeholderText?: string; initialContent?: string; onChange: (newValue?: string, removedInlineImages?: Record<string, string>[]) => void; onEnterKeyDown?: () => void; editorComponentRef: React.RefObject<RichTextEditorComponentRef>; strings: Partial<RichTextSendBoxStrings>; disabled: boolean; actionComponents: ReactNode; onRenderAttachmentUploads?: () => JSX.Element; hasAttachments?: boolean; richTextEditorStyleProps: (isExpanded: boolean) => RichTextEditorStyleProps; isHorizontalLayoutDisabled?: boolean; autoFocus?: 'sendBoxTextField'; onTyping?: () => Promise<void>; onPaste?: (event: { content: DocumentFragment; }) => void; onInsertInlineImage?: (imageAttributes: Record<string, string>) => void; } /** * @private */ export declare const RichTextInputBoxComponent: (props: RichTextInputBoxComponentProps) => JSX.Element; //# sourceMappingURL=RichTextInputBoxComponent.d.ts.map