2024-02-28 16:49:44 +00:00
|
|
|
import styles from './style.module.scss'
|
|
|
|
|
|
|
|
interface Props {
|
|
|
|
desc: string
|
|
|
|
}
|
|
|
|
|
|
|
|
export const LoadingSpinner = (props: Props) => {
|
|
|
|
const { desc } = props
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div className={styles.loadingSpinnerOverlay}>
|
|
|
|
<div className={styles.loadingSpinnerContainer}>
|
|
|
|
<div className={styles.loadingSpinner}></div>
|
2024-07-30 11:29:03 +00:00
|
|
|
{desc && <span className={styles.loadingSpinnerDesc}>{desc}</span>}
|
2024-02-28 16:49:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|