feat: unlock test page

This commit is contained in:
wonfen
2025-03-16 12:15:35 +08:00
parent 36142656a4
commit bcaafa67a3
11 changed files with 7698 additions and 3 deletions

21
src/components/center.tsx Normal file
View File

@@ -0,0 +1,21 @@
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>
);
};