import React from "react";
import LoaderIcon from "@Assets/Icons/loader.svg";
import classes from "./classes.module.scss";
import Image from "next/image";

interface IProps {
	className?: string;
}
export default class Loader extends React.Component<IProps> {
	public override render(): JSX.Element {
		return <Image src={LoaderIcon} className={[classes["loader"], this.props.className].filter(Boolean).join(" ")} alt={"Loader"} />;
		// <LoaderIcon className={[classes["loader"], this.props.className].filter(Boolean).join(" ")} />;
	}
}
