import React from "react";
import LoaderIcon from "assets/images/icons/loader.svg";
import classes from "./classes.module.scss";

interface IProps {
	className?: string;
}

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