mirror of
https://github.com/hex248/sprint.git
synced 2026-02-09 02:33:02 +00:00
17 lines
344 B
TypeScript
17 lines
344 B
TypeScript
import Icon from "@/components/ui/icon";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
function Spinner({ className, ...props }: React.ComponentProps<"svg">) {
|
|
return (
|
|
<Icon
|
|
icon="loader"
|
|
role="status"
|
|
aria-label="Loading"
|
|
className={cn("size-4 animate-spin", className)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export { Spinner };
|