Spaces:
Runtime error
Runtime error
Download frontend/src/components/Spinner.tsx from Talosware/talos-access: direct link, hf CLI and curl.
- Browser
- Download file 449 Bytes
-
https://huggingface.co/spaces/Talosware/talos-access/resolve/main/frontend/src/components/Spinner.tsx
- Command line
-
hf download hf://spaces/Talosware/talos-access/frontend/src/components/Spinner.tsx
-
curl -L -o Spinner.tsx https://huggingface.co/spaces/Talosware/talos-access/resolve/main/frontend/src/components/Spinner.tsx
449 Bytes
| interface SpinnerProps { | |
| size?: 'sm' | 'md' | 'lg'; | |
| className?: string; | |
| } | |
| export default function Spinner({ size = 'md', className = '' }: SpinnerProps) { | |
| const dimensions = { sm: 'w-4 h-4 border-2', md: 'w-6 h-6 border-2', lg: 'w-10 h-10 border-[3px]' }; | |
| return ( | |
| <div className={`inline-block ${dimensions[size]} border-gray-300 border-t-blue-600 rounded-full animate-spin ${className}`} role="status" aria-label="Cargando" /> | |
| ); | |
| } | |