RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/views/admin/settings/Setting/SettingSkeleton.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { Field, FieldLabel, FieldRow, Flex, InputBox, Skeleton } from '@rocket.chat/fuselage';
import type { ReactElement } from 'react';
import React from 'react';

const SettingSkeleton = (): ReactElement => (
    <Field>
        <Flex.Item align='stretch'>
            <FieldLabel>
                <Skeleton width='25%' />
            </FieldLabel>
        </Flex.Item>
        <FieldRow>
            <InputBox.Skeleton />
        </FieldRow>
    </Field>
);

export default SettingSkeleton;