import { cn } from "../../utils/cn" interface Props { rows?: number className?: string } export function UsersGridSkeleton({ rows = 10, className }: Props) { const skeletonRows = Array.from({ length: rows }) return (
{['Name', 'Email', 'Role', 'Created', 'Last Sign-In'].map((h) => ( ))} {skeletonRows.map((_, idx) => ( {Array.from({ length: 5 }).map((__, cell) => ( ))} ))}
{h}
) }