21 lines
585 B
TypeScript
21 lines
585 B
TypeScript
// import Loader from "Components/Elements/Loader";
|
|
import React from "react";
|
|
import classes from "./classes.module.scss";
|
|
import Typography, { ETypo } 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={ETypo.TEXT_MD_REGULAR}>{this.props.text && this.props.text}</Typography>
|
|
</div>
|
|
);
|
|
}
|
|
}
|