import { MessageBody, Skeleton } from '@rocket.chat/fuselage'; import { Markup } from '@rocket.chat/gazzodown'; import type { ComponentProps } from 'react'; import { Suspense } from 'react'; import { useTranslation } from 'react-i18next'; import type { MessageWithMdEnforced } from '../../lib/parseMessageTextToAstMarkdown'; import GazzodownText from '../GazzodownText'; export type MessageContentBodyProps = Pick & { /** Original source text the `md` was parsed from; used to render the fallback of unsupported blocks. */ msg?: string; searchText?: string; } & ComponentProps; const MessageContentBody = ({ mentions, channels, md, msg, searchText, ...props }: MessageContentBodyProps) => { const { t } = useTranslation(); return ( }> ); }; export default MessageContentBody;