'use client' import { cn } from '../../../utils/cn' import type { QueryReportTableSkeletonProps } from './types' export function QueryReportTableSkeleton({ rows, columns, columnWidth, variant = 'default', className }: QueryReportTableSkeletonProps) { const isCompact = variant === 'compact' return (
{/* Skeleton header */}
{Array.from({ length: columns }).map((_, i) => (
))}
{/* Skeleton rows */} {Array.from({ length: rows }).map((_, rowIndex) => (
{Array.from({ length: columns }).map((_, colIndex) => (
))}
))}
) }