import { cn } from "@/lib/utils"; interface Props { showCreator?: boolean; count?: number; } const MemoSkeleton = ({ showCreator = false, count = 6 }: Props) => { return ( <> {Array.from({ length: count }).map((_, index) => (
{/* Header section */}
{showCreator ? (
{/* Avatar skeleton */}
{/* Creator name skeleton */}
{/* Timestamp skeleton */}
) : (
)}
{/* Action buttons skeleton */}
{/* Content section */}
{/* Text content skeleton - varied heights for realism */}
{index % 2 === 0 &&
}
))} ); }; export default MemoSkeleton;