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/settings/SectionSkeleton.tsx

23 lines
545 B

import { Accordion, Box, FieldGroup, Skeleton } from '@rocket.chat/fuselage';
import type { ReactElement } from 'react';
import React from 'react';
import Setting from './Setting';
function SectionSkeleton(): ReactElement {
return (
<Accordion.Item noncollapsible title={<Skeleton />}>
<Box is='p' color='hint' fontScale='p2'>
<Skeleton />
</Box>
<FieldGroup>
{Array.from({ length: 10 }).map((_, i) => (
<Setting.Skeleton key={i} />
))}
</FieldGroup>
</Accordion.Item>
);
}
export default SectionSkeleton;