* Icon and IconName * Button and ButtonGroup * UserAvatar * AvatarGroup * Avatar * WizardLayout * Dialogs * EmptyScreen * showToast and TextField * Editor * Skeleton * Skeleton * TopBanner and showToast * Button again * more * perf: Remove app-store reference from @calcom/ui * more * Fixing types * Icon * Fixed casing * dropdown * more * Select * more * Badge * List * more * Divider * more * fix * fix type check * refactor * fix * fix * fix * fix * fix * fix * fix * fix type check * fix * fix * fix * fix * more * more * more * more * add index file to components/command * fix * fix * fix * fix imports * fix * fix * fix * fix * fix * fix * fix * fix build errors * fix build errors * fix --------- Co-authored-by: Keith Williams <keithwillcode@gmail.com>
31 lines
1.2 KiB
TypeScript
31 lines
1.2 KiB
TypeScript
import SectionBottomActions from "@calcom/features/settings/SectionBottomActions";
|
|
import { SkeletonButton, SkeletonContainer, SkeletonText } from "@calcom/ui/components/skeleton";
|
|
|
|
export const AppearanceSkeletonLoader = () => {
|
|
return (
|
|
<SkeletonContainer>
|
|
<div className="border-subtle mt-6 flex items-center rounded-t-xl border p-6 text-sm">
|
|
<SkeletonText className="h-8 w-1/3" />
|
|
</div>
|
|
<div className="border-subtle space-y-6 border-x px-4 py-6 sm:px-6">
|
|
<div className="flex w-full items-center justify-center gap-6">
|
|
<div className="bg-emphasis h-32 flex-1 animate-pulse rounded-md p-5" />
|
|
<div className="bg-emphasis h-32 flex-1 animate-pulse rounded-md p-5" />
|
|
<div className="bg-emphasis h-32 flex-1 animate-pulse rounded-md p-5" />
|
|
</div>
|
|
<div className="flex justify-between">
|
|
<SkeletonText className="h-8 w-1/3" />
|
|
<SkeletonText className="h-8 w-1/3" />
|
|
</div>
|
|
|
|
<SkeletonText className="h-8 w-full" />
|
|
</div>
|
|
<div className="rounded-b-xl">
|
|
<SectionBottomActions align="end">
|
|
<SkeletonButton className="mr-6 h-8 w-20 rounded-md p-5" />
|
|
</SectionBottomActions>
|
|
</div>
|
|
</SkeletonContainer>
|
|
);
|
|
};
|