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/Card/Body.tsx

14 lines
358 B

import { Box } from '@rocket.chat/fuselage';
import React, { FC, CSSProperties } from 'react';
type BodyProps = {
flexDirection?: CSSProperties['flexDirection'];
};
const Body: FC<BodyProps> = ({ children, flexDirection = 'row' }) => (
<Box mb='x8' display='flex' flexDirection={flexDirection} flexGrow={1}>
{children}
</Box>
);
export default Body;