The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/client/components/Message/Body/Plain.tsx

6 lines
241 B

import { Plain as ASTPlain } from '@rocket.chat/message-parser';
import React, { FC, memo } from 'react';
const Plain: FC<{ value: ASTPlain }> = ({ value }) => <>{value.type === 'PLAIN_TEXT' && value.value}</>;
export default memo(Plain);