import { cn } from "@/lib/utils";
interface SkeletonProps {
showCreator?: boolean;
count?: number;
}
const skeletonBase = "bg-muted/70 rounded animate-pulse";
const MemoCardSkeleton = ({ showCreator, index }: { showCreator?: boolean; index: number }) => (
{showCreator ? (
) : (
)}
);
/**
* Memo list loading skeleton - shows card structure while loading.
* Only use for memo lists in PagedMemoList component.
*/
const Skeleton = ({ showCreator = false, count = 4 }: SkeletonProps) => (
{Array.from({ length: count }, (_, i) => (
))}
);
export default Skeleton;