import { cn } from "../lib/utils";

interface IProps {
  className?: string | null;
}

const Loading = ({ className = "w-svw h-svh" }: IProps) => {
  return (
    <div className={cn("flex items-center justify-center", className)}>
      <div className="h-5 w-5 animate-spin rounded-full border-b-2 border-primary"></div>
    </div>
  );
};

export default Loading;
