/** * LoadingSkeleton Component * Placeholder for loading states */ import styles from './LoadingSkeleton.module.css'; interface LoadingSkeletonProps { count?: number; type?: 'card' | 'list' | 'text'; } export function LoadingSkeleton({ count = 3, type = 'card' }: LoadingSkeletonProps) { if (type === 'card') { return (
{Array.from({ length: count }).map((_, i) => (
))}
); } if (type === 'list') { return (
{Array.from({ length: count }).map((_, i) => (
))}
); } return (
{Array.from({ length: count }).map((_, i) => (
))}
); }