mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-06 19:16:28 +00:00
initial commit for new hats app
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user