feat: introduce notifications page

This commit is contained in:
Ali BARIN
2022-03-31 23:14:33 +02:00
committed by Ömer Faruk Aydın
parent db021c06c7
commit d373d04cdf
9 changed files with 137 additions and 13 deletions

View File

@@ -1,16 +1,10 @@
import * as React from 'react';
import Typography from '@mui/material/Typography';
import Typography, { TypographyProps } from '@mui/material/Typography';
type PageTitleProps = {
children: React.ReactNode;
};
type PageTitleProps = TypographyProps;
export default function PageTitle(props: PageTitleProps): React.ReactElement {
const { children } = props;
return (
<Typography variant="h3">
{children}
</Typography>
<Typography variant="h3" {...props} />
);
}