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/views/InfoPanel/Text.tsx

13 lines
374 B

import { css } from '@rocket.chat/css-in-js';
import { Box } from '@rocket.chat/fuselage';
import React, { ComponentProps, FC } from 'react';
const wordBreak = css`
word-break: break-word;
`;
const Text: FC<ComponentProps<typeof Box>> = (props) => (
<Box mb='x8' fontScale='p2' color='hint' withTruncatedText className={wordBreak} {...props} />
);
export default Text;