UNPKG

@azure/communication-react

Version:

React library for building modern communication user experiences utilizing Azure Communication Services

22 lines 693 B
/// <reference types="react" /> /** * @private */ export declare const onRenderCancelIcon: (className: string) => JSX.Element; /** * @private */ export declare const onRenderSubmitIcon: (className: string) => JSX.Element; /** * Enumeration for whether a message can be sent */ export type MessageState = 'OK' | 'too short' | 'too long'; /** * @private */ export declare function getMessageState(messageText: string): MessageState; /** * @private */ export declare const getTextValidationErrorMessage: (messageState: string, tooLongString: string, tooShortString: string, imageOverflow?: boolean) => string | undefined; //# sourceMappingURL=ChatMessageComponentAsEditBoxUtils.d.ts.map