diff --git a/components/loading/LoadingOverlay.tsx b/components/loading/LoadingOverlay.tsx new file mode 100644 index 0000000..2ff147d --- /dev/null +++ b/components/loading/LoadingOverlay.tsx @@ -0,0 +1,37 @@ +import { + Box, + Modal, + ModalBody, + ModalContent, + ModalOverlay +} from "@chakra-ui/react"; +import React from "react"; +import LoadingSpinner from "./LoadingSpinner"; + +const LoadingOverlay = (): JSX.Element => { + return ( + null} + motionPreset="slideInBottom" + scrollBehavior="inside" + size="xs" + > + + + {/* + */} + + + + + + {/* + */} + + + ); +}; + +export default LoadingOverlay; diff --git a/components/loading/LoadingSpinner.tsx b/components/loading/LoadingSpinner.tsx new file mode 100644 index 0000000..8f11d4d --- /dev/null +++ b/components/loading/LoadingSpinner.tsx @@ -0,0 +1,16 @@ +import { Spinner } from "@chakra-ui/react"; +import React from "react"; + +const LoadingSpinner = (): JSX.Element => { + return ( + + ); +}; + +export default LoadingSpinner;