mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-06-09 23:06:01 +00:00
19 lines
347 B
TypeScript
19 lines
347 B
TypeScript
import { RiLoader4Line } from "@remixicon/react";
|
|
import { cn } from "@/shared/utils/ui";
|
|
|
|
function Spinner({
|
|
className,
|
|
...props
|
|
}: React.ComponentProps<typeof RiLoader4Line>) {
|
|
return (
|
|
<RiLoader4Line
|
|
role="status"
|
|
aria-label="Loading"
|
|
className={cn("size-4 animate-spin", className)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export { Spinner };
|