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)}>
      <span className="loading loading-dots loading-xl"></span>
    </div>
  );
};

export default Loading;
