RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/components/Omnichannel/Skeleton.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { Box, Skeleton } from '@rocket.chat/fuselage';
import type { ComponentPropsWithoutRef } from 'react';
import React from 'react';

type FormSkeletonProps = ComponentPropsWithoutRef<typeof Box>;

export const FormSkeleton = (props: FormSkeletonProps) => (
    <Box w='full' pb={24} {...props}>
        <Skeleton mbe={8} />
        <Skeleton mbe={4} />
    </Box>
);