This commit is contained in:
Slinetrac
2025-11-21 13:23:04 +08:00
parent 6c5319d1b6
commit 24c4cf270c

View File

@@ -1,21 +0,0 @@
import { Box, BoxProps } from "@mui/material";
import React from "react";
interface CenterProps extends BoxProps {
children: React.ReactNode;
}
export const Center: React.FC<CenterProps> = ({ children, ...props }) => {
return (
<Box
display="flex"
justifyContent="center"
alignItems="center"
width="100%"
height="100%"
{...props}
>
{children}
</Box>
);
};