// @ts-nocheck import React, { useContext } from 'react'; import clsx from 'classnames'; import TableContext from './TableContext'; import { Skeleton } from '@/components'; function TableHeaderCell({ column }) { const { skeletonWidthMax = 100, skeletonWidthMin = 40 } = column; return (
); } /** * Table skeleton rows. */ export function TableSkeletonHeader({}) { const { table: { headerGroups }, } = useContext(TableContext); return (
{headerGroups.map((headerGroup) => (
{headerGroup.headers.map((column) => ( ))}
))}
); }