import React from "react"; const SkeletonLine = ({ height = 20, width = "100%", className = "" }) => (
); export const PaymentHistorySkeleton = ({ count = 2 }) => { return (
{[...Array(count)].map((_, idx) => (
{/* Top Row: Date + Amount */}
{/* Date */} {/* Amount */}
{/* Transaction ID */}
{/* Received By (Avatar + Name) */}
{" "} {/* Avatar */} {/* Name */}
))}
); }; export const CollectionDetailsSkeleton = () => { return (
{/* Title */} {/* Header Row */}
{/* Project */}
{/* Invoice & E-Invoice */}
{/* Invoice Date & Client Submitted */}
{/* Expected Payment & Mark as Completed */}
{/* Basic & Tax Amount */}
{/* Balance & Created At */}
{/* Created By */}
{/* Description */}
{/* Attachments */}
{[...Array(3)].map((_, idx) => ( ))}
{/* Tabs */}
{/* Tab Content (Comments / Payments) */}
); }; export const CollectionTableSkeleton = () => { const columnCount = 8; return (
{[...Array(columnCount - 1)].map((_, i) => ( ))} {[...Array(8)].map((_, rowIdx) => ( {[...Array(columnCount - 1)].map((_, colIdx) => ( ))} ))}
{/* Pagination Skeleton */}
); };