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/apps/meteor/client/views/admin/subscription/components/FeatureUsageCardBody.tsx

14 lines
505 B

import { Box, CardBody } from '@rocket.chat/fuselage';
import type { ReactNode } from 'react';
type FeatureUsageCardBodyProps = { justifyContent?: 'flex-start' | 'center'; children: ReactNode };
const FeatureUsageCardBody = ({ justifyContent = 'center', children }: FeatureUsageCardBodyProps) => (
<CardBody>
<Box h='full' w='full' display='flex' alignItems='center' justifyContent={justifyContent} flexDirection='column'>
{children}
</Box>
</CardBody>
);
export default FeatureUsageCardBody;