Download src/components/states/LoadingSpinner.tsx from asnannp/DocDoeAI: direct link, hf CLI and curl.
- Browser
- Download file 438 Bytes
-
https://huggingface.co/spaces/asnannp/DocDoeAI/resolve/main/src/components/states/LoadingSpinner.tsx
- Command line
-
hf download hf://spaces/asnannp/DocDoeAI/src/components/states/LoadingSpinner.tsx
-
curl -L -o LoadingSpinner.tsx https://huggingface.co/spaces/asnannp/DocDoeAI/resolve/main/src/components/states/LoadingSpinner.tsx
438 Bytes
| type LoadingSpinnerProps = { | |
| label?: string; | |
| }; | |
| export function LoadingSpinner({ label = "Loading" }: LoadingSpinnerProps) { | |
| return ( | |
| <div className="workspace-card flex items-center gap-3 p-4 text-[13px] font-medium text-[var(--text-secondary)]"> | |
| <span className="size-4 animate-spin rounded-full border-2 border-[var(--accent-primary)]/20 border-t-[var(--accent-primary)]" /> | |
| <span>{label}</span> | |
| </div> | |
| ); | |
| } | |