mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 18:51:13 -05:00
feat: Implement skeleton loading
This commit is contained in:
15
src/components/moderation/QueueSkeleton.tsx
Normal file
15
src/components/moderation/QueueSkeleton.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { QueueItemSkeleton } from './QueueItemSkeleton';
|
||||
|
||||
interface QueueSkeletonProps {
|
||||
count?: number;
|
||||
}
|
||||
|
||||
export function QueueSkeleton({ count = 5 }: QueueSkeletonProps) {
|
||||
return (
|
||||
<div className="flex flex-col gap-6">
|
||||
{Array.from({ length: count }).map((_, i) => (
|
||||
<QueueItemSkeleton key={i} />
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user