Init(Core): add project to new repo

This commit is contained in:
2026-04-24 18:56:52 +03:30
commit b75246ac0f
195 changed files with 10747 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import {Box, CircularProgress} from "@mui/material";
export default function LoadingTemplate({loading, marginLeft, children, className}) {
return (
<Box className={`w-full ` + className} sx={{ position: 'relative' }}>
{children}
{loading && (
<CircularProgress
size={24}
sx={{
color: "#fff",
position: 'absolute',
top: '50%',
left: '50%',
marginTop: '-12px',
marginLeft: marginLeft,
}}
/>
)}
</Box>
)
}