import { cn } from "@/lib/utils";
interface Props {
showCreator?: boolean;
count?: number;
}
// Memo card skeleton component for list loading states
const MemoCardSkeleton = ({ showCreator = false, index = 0 }: { showCreator?: boolean; index?: number }) => (
{/* Header section */}
{showCreator ? (
) : (
)}
{/* Action buttons skeleton */}
{/* Content section */}
);
/**
* Skeleton loading state for memo lists.
* Use this for initial memo list loading and pagination.
* For generic page/route loading, use Spinner instead.
*/
const Skeleton = ({ showCreator = false, count = 4 }: Props) => (
{Array.from({ length: count }).map((_, index) => (
))}
);
export default Skeleton;