mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-11 04:52:36 +10:00
21 lines
576 B
JavaScript
21 lines
576 B
JavaScript
import { Fade, Modal } from "@material-ui/core";
|
|
import React from "react";
|
|
import Logo from "../shared/Logo";
|
|
|
|
const LoadingScreen = ({ type }) => {
|
|
return (
|
|
<Modal open hideBackdrop>
|
|
<Fade in>
|
|
<div className="w-screen h-screen flex justify-center items-center outline-none">
|
|
<div className="flex flex-col items-center">
|
|
<Logo size="48px" className="mb-4" />
|
|
<span className="font-medium opacity-75">Fetching {type}</span>
|
|
</div>
|
|
</div>
|
|
</Fade>
|
|
</Modal>
|
|
);
|
|
};
|
|
|
|
export default LoadingScreen;
|