mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 05:56:38 +08:00
17 lines
335 B
TypeScript
17 lines
335 B
TypeScript
import { Loader2Icon } from 'lucide-react';
|
|
|
|
import { cn } from '@/lib/utils';
|
|
|
|
function Spinner({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
return (
|
|
<Loader2Icon
|
|
role='status'
|
|
aria-label='Loading'
|
|
className={cn('size-4 animate-spin', className)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export { Spinner };
|