mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-05-11 06:11:15 +00:00
35 lines
1.2 KiB
TypeScript
35 lines
1.2 KiB
TypeScript
import { Skeleton } from "@/components/ui/skeleton";
|
|
|
|
export default function SuppliesLoading() {
|
|
return (
|
|
<div className="space-y-4">
|
|
<div className="flex items-center justify-between">
|
|
<div>
|
|
<Skeleton className="h-8 w-32" />
|
|
<Skeleton className="mt-1 h-4 w-56" />
|
|
</div>
|
|
<Skeleton className="h-9 w-28" />
|
|
</div>
|
|
<div className="flex flex-wrap items-center gap-2">
|
|
<Skeleton className="h-9 w-64" />
|
|
<Skeleton className="h-9 w-24" />
|
|
<Skeleton className="h-9 w-24" />
|
|
<Skeleton className="h-9 w-24" />
|
|
</div>
|
|
<div className="rounded-md border">
|
|
<div className="h-10 border-b bg-muted/50" />
|
|
{Array.from({ length: 5 }).map((_, i) => (
|
|
<div key={i} className="flex items-center gap-4 border-b px-4 py-2">
|
|
<Skeleton className="h-5 w-5 rounded" />
|
|
<Skeleton className="h-4 w-32" />
|
|
<Skeleton className="h-4 w-20" />
|
|
<Skeleton className="h-4 w-20" />
|
|
<Skeleton className="h-4 w-24" />
|
|
<Skeleton className="h-4 w-16" />
|
|
</div>
|
|
))}
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|