import React from "react";
const SkeletonLine = ({ height = 20, width = "100%", className = "" }) => (
);
export const NoteCardSkeleton = () => {
return (
{Array.from({ length: 3 }).map((_, idx) => (
))}
);
};
export const MainDirectoryPageSkeleton = () => {
return (
{/* Tabs & Export */}
{/* Search / Controls */}
);
};
// 32702.75
// Skeleton for ListViewContact
export const ListViewContactSkeleton = ({ rows = 5 }) => {
const columns = ["Name", "Email", "Organization", "Category", "Action"];
return (
{columns.map((col) => (
|
|
))}
{Array.from({ length: rows }).map((_, idx) => (
{/* Name / Avatar */}
|
|
{/* Email */}
|
{/* Organization */}
|
{/* Category */}
|
{/* Actions */}
|
))}
);
};
export const CardViewContactSkeleton = ({ rows = 6 }) => {
return (
{Array.from({ length: rows }).map((_, idx) => (
{/* Header */}
{/* Footer */}
{Array.from({ length: 3 }).map((_, i) => (
))}
))}
);
};
export const ContactProfileSkeleton = () => {
return (
{/* Header */}
{/* Avatar and Name */}
{/* Two-column details */}
{Array.from({ length: 5 }).map((_, idx) => (
))}
{Array.from({ length: 5 }).map((_, idx) => (
))}
{/* Projects */}
{/* Description */}
{/* Notes Section */}
{Array.from({ length: 3 }).map((_, idx) => (
))}
);
};
export const NoetCard =({cards = 2})=>{
return(
{Array.from({ length: cards }).map((_, idx) => (
))}
)
}