({ size = 'md' }: SpinnerProps)
| 7 | } |
| 8 | |
| 9 | export function Spinner({ size = 'md' }: SpinnerProps) { |
| 10 | const dim = size === 'sm' ? 'w-4 h-4' : 'w-6 h-6' |
| 11 | return ( |
| 12 | <div |
| 13 | className={`${dim} border-2 border-accent/20 border-t-accent rounded-full animate-spin`} |
| 14 | /> |
| 15 | ) |
| 16 | } |
| 17 | |
| 18 | // ==================== PageLoading ==================== |
| 19 |
nothing calls this directly
no outgoing calls
no test coverage detected