Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

712 B
Raw Blame
import { LoaderCircle } from 'lucide-react';
import React from 'react';

import { cn } from '@/lib/utils';

export interface ISVGProps extends React.SVGProps<SVGSVGElement> {
  className?: string;
  isLarge?: boolean;
}
/**When editing the size of the spinner use size class */
const LoadingSpinner = React.memo(
  ({ className, isLarge = false }: ISVGProps) => {
    return (
      <LoaderCircle
        className={cn(
          'animate-spin  duration-1500 stroke-gray-12 size-5',
          {
            'size-[24px]': !isLarge,
            'size-[50px]': isLarge,
          },
          className,
        )}
      />
    );
  },
);

LoadingSpinner.displayName = 'LoadingSpinner';
export { LoadingSpinner };