mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-30 07:37:39 +00:00
16 lines
334 B
TypeScript
16 lines
334 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 };
|