Files
sarlink-portal/app/(dashboard)/devices/loading.tsx
i701 a60e9a9c85
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 12m20s
chore: add skeletons to tables and loading.tsx files for routes and run formatting ♻️
2025-09-20 20:42:14 +05:00

23 lines
645 B
TypeScript

import DevicesTableSkeleton from "@/components/device-table-skeleton";
import { Skeleton } from "@/components/ui/skeleton";
export default function LoadingComponent() {
return (
<div>
<div className="flex justify-between items-center border rounded-md border-dashed font-bold title-bg py-4 px-2 mb-4">
<Skeleton className="w-48 h-8" />
<Skeleton className="w-20 h-8" />
</div>
<div
id="user-filters"
className=" pb-4 gap-4 flex sm:flex-row flex-col items-start justify-endO"
>
<DevicesTableSkeleton
headers={["Device Name", "Mac Address", "Vendor", "#"]}
length={10}
/>
</div>
</div>
);
}