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/components/GenericResourceUsage/GenericResourceUsageSkeleto...

17 lines
588 B

import { Box, Skeleton } from '@rocket.chat/fuselage';
import type { ComponentProps } from 'react';
type GenericResourceUsageSkeletonProps = {
title?: string;
} & ComponentProps<typeof Box>;
const GenericResourceUsageSkeleton = ({ title, ...props }: GenericResourceUsageSkeletonProps) => {
return (
<Box w='x180' h='x40' mi={8} fontScale='c1' display='flex' flexDirection='column' justifyContent='space-around' {...props}>
{title ? <Box color='default'>{title}</Box> : <Skeleton w='full' />}
<Skeleton w='full' />
</Box>
);
};
export default GenericResourceUsageSkeleton;