26 lines
554 B
TypeScript
26 lines
554 B
TypeScript
|
|
import Link from '@mui/material/Link';
|
||
|
|
import Typography from '@mui/material/Typography';
|
||
|
|
|
||
|
|
export default function Copyright(props: any) {
|
||
|
|
return (
|
||
|
|
<Typography
|
||
|
|
variant="body2"
|
||
|
|
align="center"
|
||
|
|
{...props}
|
||
|
|
sx={[
|
||
|
|
{
|
||
|
|
color: 'text.secondary',
|
||
|
|
},
|
||
|
|
...(Array.isArray(props.sx) ? props.sx : [props.sx]),
|
||
|
|
]}
|
||
|
|
>
|
||
|
|
{'Copyright © '}
|
||
|
|
<Link color="inherit" href="https://mui.com/">
|
||
|
|
Sitemark
|
||
|
|
</Link>{' '}
|
||
|
|
{new Date().getFullYear()}
|
||
|
|
{'.'}
|
||
|
|
</Typography>
|
||
|
|
);
|
||
|
|
}
|