Function
Spinner
({
className,
...props
}: React.ComponentProps<typeof HugeiconsIcon>)
Source from the content-addressed store, hash-verified
| 3 | import { cn } from "@/lib/utils"; |
| 4 | |
| 5 | function Spinner({ |
| 6 | className, |
| 7 | ...props |
| 8 | }: React.ComponentProps<typeof HugeiconsIcon>) { |
| 9 | return ( |
| 10 | <HugeiconsIcon |
| 11 | aria-label="Loading" |
| 12 | {...props} |
| 13 | className={cn("animate-spin", className)} |
| 14 | icon={Loading01Icon} |
| 15 | role="status" |
| 16 | /> |
| 17 | ); |
| 18 | } |
| 19 | |
| 20 | export { Spinner }; |
Callers
nothing calls this directly
Tested by
no test coverage detected