TableSkeleton.tsx 301 Bytes
import { Skeleton } from 'antd';

export function TableSkeleton({ active = true }: { active?: boolean }) {
  return (
    <>
      <Skeleton.Input active={active} block style={{ height: 36, marginBottom: 12 }} />
      <Skeleton active={active} paragraph={{ rows: 8 }} title={false} />
    </>
  );
}