'use client'; import { Skeleton } from "@/components/ui/skeleton" interface TableSkeletonProps { rowCount?: number columnCount: number hasActions?: boolean } export function TableSkeleton({ rowCount = 10, columnCount, hasActions = true }: TableSkeletonProps) { return ( <> {Array.from({ length: rowCount }).map((_, rowIndex) => ( {Array.from({ length: columnCount }).map((_, colIndex) => ( ))} {hasActions && (
)} ))} ) }