20 lines
561 B
TypeScript
20 lines
561 B
TypeScript
|
|
import Typography from '@mui/material/Typography';
|
||
|
|
import Box from '@mui/material/Box';
|
||
|
|
import { Container } from '@mui/material';
|
||
|
|
|
||
|
|
export default function Test() {
|
||
|
|
return (
|
||
|
|
<div>
|
||
|
|
<Container maxWidth="md" sx={{ py: { xs: 7, md: 16 }, textAlign: 'center' }}>
|
||
|
|
<Box sx={{ width: '100%', maxWidth: 500 }}>
|
||
|
|
<Typography variant='h1'>
|
||
|
|
这是一个测试页面
|
||
|
|
</Typography><br />
|
||
|
|
<Typography>
|
||
|
|
这个测试页面位于<code>/test</code>
|
||
|
|
</Typography>
|
||
|
|
</Box>
|
||
|
|
</Container>
|
||
|
|
</div>
|
||
|
|
)
|
||
|
|
}
|