import { Skeleton } from '../ui/Skeleton.tsx' import { cn } from '../../lib/cn.ts' export function LoadingBlock({ rows = 5, className }: { rows?: number; className?: string }) { const count = Math.max(1, Math.min(rows, 50)) return (
Loading… {Array.from({ length: count }, (_, index) => (
))}
) }