mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-23 13:48:58 -05:00
60f6ca9463
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
25 lines
654 B
TypeScript
25 lines
654 B
TypeScript
import { SettingsCard } from "@/app/(app)/workspaces/[workspaceId]/settings/components/SettingsCard";
|
|
import { cn } from "@/lib/cn";
|
|
|
|
export const LoadingCard = ({
|
|
title,
|
|
description,
|
|
skeletonLines,
|
|
}: {
|
|
title: string;
|
|
description: string;
|
|
skeletonLines: Array<{ classes: string }>;
|
|
}) => {
|
|
return (
|
|
<SettingsCard title={title} description={description}>
|
|
<div className="w-full space-y-4">
|
|
{skeletonLines.map((line, index) => (
|
|
<div key={index}>
|
|
<div className={cn("animate-pulse rounded-full bg-slate-200", line.classes)}></div>
|
|
</div>
|
|
))}
|
|
</div>
|
|
</SettingsCard>
|
|
);
|
|
};
|