// import Loader from "Components/Elements/Loader";
import React from "react";
import classes from "./classes.module.scss";
import Typography, { ITypo } from "@Front/Components/DesignSystem/Typography";

type IProps = {
	text?: string | JSX.Element;
};

export default class PopUpLoader extends React.Component<IProps> {
	public override render(): JSX.Element {
		return (
			<div className={classes["root"]}>
				{/* <Loader /> */}
				TODO: INTEGRER LOARDER ISLOADING
				<Typography typo={ITypo.P_16}>
					{this.props.text && this.props.text}
				</Typography>
			</div>
		);
	}
}
