mirror of
https://github.com/lux-tel/websites.git
synced 2026-10-30 20:31:36 +00:00
9 lines
337 B
TypeScript
9 lines
337 B
TypeScript
import { Loader } from 'lucide-react';
|
|
import { forwardRef } from 'react';
|
|
import { cn } from '../lib/utils';
|
|
import type { SVGAttributes } from './types';
|
|
|
|
export const Spinner = forwardRef<SVGSVGElement, SVGAttributes>(({ className, ...props }, ref) => (
|
|
<Loader className={cn('animate-spin', className)} {...props} ref={ref} />
|
|
));
|