ui/src/cmp/spinner.tsx
Alois 7bc6d002a9
All checks were successful
/ package (push) Successful in 57s
Migrate tensamin/ui to methanium/ui
2026-07-25 13:09:54 +02:00

15 lines
335 B
TypeScript

import { cn } from "../lib/utils";
import { Loader2Icon } from "lucide-react";
function Spinner({ className, ...props }: React.ComponentProps<"svg">) {
return (
<Loader2Icon
role="status"
aria-label="Loading"
className={cn("size-4 animate-spin", className)}
{...props}
/>
);
}
export { Spinner };