mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 10:56:28 +00:00
34 lines
1.2 KiB
TypeScript
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; |