UPDATE: Add LoadingScreen component to maintain consistency

This commit is contained in:
Chris-1010
2025-02-24 16:24:52 +00:00
parent 5f13534c7a
commit db5996b157
11 changed files with 38 additions and 41 deletions

View File

@@ -0,0 +1,17 @@
import React from "react";
interface LoadingScreenProps {
children?: React.ReactNode;
}
const LoadingScreen: React.FC<LoadingScreenProps> = ({
children = "Loading...",
}) => {
return (
<div className="h-screen w-screen flex items-center justify-center text-white">
{children}
</div>
);
};
export default LoadingScreen;