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/room/components/MessageTemplate/Message.js

20 lines
384 B

import { Box } from '@rocket.chat/fuselage';
import React from 'react';
import { isIterable } from './isIterable';
function Message({ className, ...props }) {
return (
<Box
rcx-message
pi='x20'
pb='x16'
pbs='x16'
display='flex'
{...props}
className={[...(isIterable(className) ? className : [className])].filter(Boolean)}
/>
);
}
export default Message;