
solve partially this ticket : https://app.ora.pm/p/fb56ed95daa7456b888d266a050b9afa?v=86662&s=28293&t=k&c=657791f3b1c64e6cbbf22f9378c0bdae --------- Co-authored-by: OxSaitama <arnaud.daubernatali@smart-chain.fr> Co-authored-by: Massi <massi.hamidouche@smart-chain.fr>
23 lines
585 B
TypeScript
23 lines
585 B
TypeScript
// 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>
|
|
);
|
|
}
|
|
}
|