Files
853f9bc436 perf: do not import from @calcom/ui barrel file (#20184)
* 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 <[email protected]>
2025-03-19 19:00:55 -03:00

20 lines
673 B
TypeScript

import { SkeletonText } from "@calcom/ui/components/skeleton";
import classNames from "@calcom/ui/classNames";
export const EventMetaSkeleton = () => (
<div className="flex flex-col">
<SkeletonText className="h-6 w-6 rounded-full" />
<SkeletonText className="mt-2 h-5 w-32" />
<SkeletonText className="mt-2 h-8 w-48" />
<div className="mt-8">
{Array.from({ length: 4 }).map((_, i) => (
<div className="mb-2 flex flex-row items-center" key={i}>
<SkeletonText className="mr-3 h-5 w-5 rounded-full" />
<SkeletonText className={classNames("h-6", i > 1 ? "w-24" : "w-32")} />
</div>
))}
</div>
</div>
);