UNPKG

communication-react-19

Version:

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

18 lines 723 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. // Add component type check to assist in identification for usePropsFor // to avoid issue where production build does not have the component name /* @conditional-compile-remove(rich-text-editor) */ /** * @private */ export const richTextSendBoxIdentifier = Symbol('richTextSendBoxIdentifier'); /* @conditional-compile-remove(rich-text-editor) */ /** * @internal */ // eslint-disable-next-line @typescript-eslint/no-explicit-any export const _isRichTextSendBox = (component) => { return (component === null || component === void 0 ? void 0 : component[richTextSendBoxIdentifier]) === true; }; //# sourceMappingURL=RichTextSendBoxUtils.js.map