({ label }: { label?: string })
| 32 | * (e.g. a market board section) where `PageLoading`'s flex-1 wouldn't |
| 33 | * expand. */ |
| 34 | export function CenteredLoading({ label }: { label?: string }) { |
| 35 | return ( |
| 36 | <div className="flex items-center justify-center gap-2.5 py-20 text-[13px] text-text-muted"> |
| 37 | <Spinner size="sm" /> |
| 38 | {label && <span>{label}</span>} |
| 39 | </div> |
| 40 | ) |
| 41 | } |
| 42 | |
| 43 | // ==================== Skeleton ==================== |
| 44 |
nothing calls this directly
no outgoing calls
no test coverage detected