Download frontend/src/components/common/LoadingSpinner.tsx from UFOSINT/UAP-Data-Analysis-Tool: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/spaces/UFOSINT/UAP-Data-Analysis-Tool/resolve/main/frontend/src/components/common/LoadingSpinner.tsx
- Command line
-
hf download hf://spaces/UFOSINT/UAP-Data-Analysis-Tool/frontend/src/components/common/LoadingSpinner.tsx
-
curl -L -o LoadingSpinner.tsx https://huggingface.co/spaces/UFOSINT/UAP-Data-Analysis-Tool/resolve/main/frontend/src/components/common/LoadingSpinner.tsx
511 Bytes
| export function LoadingSpinner({ text = 'Loading...' }: { text?: string }) { | |
| return ( | |
| <div className="flex flex-col items-center justify-center gap-3 py-12"> | |
| <div className="relative h-10 w-10"> | |
| <div className="absolute inset-0 rounded-full border-2 border-border opacity-30" /> | |
| <div className="absolute inset-0 animate-spin rounded-full border-2 border-transparent border-t-accent" /> | |
| </div> | |
| <span className="text-sm text-text-secondary">{text}</span> | |
| </div> | |
| ); | |
| } | |