Files
2025-12-19 13:57:55 +07:00

34 lines
1.2 KiB
TypeScript

import { FC } from 'react';
import { Skeleton } from '../ui/skeleton';
type Props = {
className?: string
};
const SkeletonTable: FC<Props> = ({ className }) => {
return (
<>
<div className={`flex flex-col w-full ${className}`}>
<div className="flex justify-between items-center w-full mt-6 mb-4">
<div className="space-x-2 flex">
<Skeleton className="h-6 w-64" />
<Skeleton className="h-6 w-28" />
</div>
<Skeleton className="h-6 w-28 rounded-2xl" />
</div>
<div className="space-y-3">
<Skeleton className="h-6 w-full" />
<Skeleton className="h-6 w-full" />
<Skeleton className="h-6 w-full" />
<Skeleton className="h-6 w-full" />
<Skeleton className="h-6 w-full" />
<Skeleton className="h-6 w-full" />
<Skeleton className="h-6 w-full" />
<Skeleton className="h-6 w-full" />
</div>
</div>
</>
);
}
export default SkeletonTable;