Files
prowler/ui/components/services/ServiceSkeletonGrid.tsx
T

20 lines
597 B
TypeScript

import { Card } from "@heroui/card";
import { Skeleton } from "@heroui/skeleton";
import React from "react";
export const ServiceSkeletonGrid = () => {
return (
<Card className="h-fit w-full p-4">
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
{[...Array(25)].map((_, index) => (
<div key={index} className="flex flex-col gap-4">
<Skeleton className="h-16 rounded-lg">
<div className="bg-default-300 h-full"></div>
</Skeleton>
</div>
))}
</div>
</Card>
);
};