Files
postshop-frontend/components/skeletons/CategorySkeleton.tsx
Jelaletdin12 fdec9e4b0e first commit
2025-11-10 10:07:48 +05:00

18 lines
480 B
TypeScript

import { Skeleton } from "@/components/ui/skeleton"
import { Card } from "@/components/ui/card"
import { CardContent } from "@/components/ui/card"
export default function CategorySkeleton() {
return (
<Card className="overflow-hidden rounded-xl">
{/* Image */}
<Skeleton className="w-full h-36 bg-gray-200" />
{/* Name */}
<CardContent className="py-2">
<Skeleton className="h-4 w-3/4 bg-gray-200" />
</CardContent>
</Card>
)
}