MCPcopy Create free account
hub / github.com/Donnadieu/Epstein-File-Explorer / DocumentCardSkeleton

Function DocumentCardSkeleton

client/src/pages/documents.tsx:125–145  ·  view source on GitHub ↗
({ index }: { index: number })

Source from the content-addressed store, hash-verified

123};
124
125function DocumentCardSkeleton({ index }: { index: number }) {
126 return (
127 <Card>
128 <CardContent className="p-4">
129 <div className="flex items-start gap-3" style={{ animationDelay: `${index * 75}ms` }}>
130 <Skeleton className="w-10 h-10 rounded-md shrink-0" />
131 <div className="flex flex-col gap-1.5 flex-1">
132 <Skeleton className="h-4 w-3/4" />
133 <Skeleton className="h-3 w-full" />
134 <Skeleton className="h-3 w-2/3" />
135 <div className="flex gap-2 mt-1">
136 <Skeleton className="h-4 w-20 rounded-full" />
137 <Skeleton className="h-4 w-14 rounded-full" />
138 <Skeleton className="h-3 w-16" />
139 </div>
140 </div>
141 </div>
142 </CardContent>
143 </Card>
144 );
145}
146
147function getPageNumbers(currentPage: number, totalPages: number): (number | "ellipsis")[] {
148 if (totalPages <= 7) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected