Feat(Frontend): Authentication Context
This commit is contained in:
19
frontend/src/components/Title.tsx
Normal file
19
frontend/src/components/Title.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import Typography from "@mui/material/Typography";
|
||||
import { Helmet } from "react-helmet-async";
|
||||
|
||||
interface IProps {
|
||||
title: string;
|
||||
}
|
||||
|
||||
const Title = ({ title }: IProps) => (
|
||||
<>
|
||||
<Helmet>
|
||||
<title>Todo | {title}</title>
|
||||
</Helmet>
|
||||
<Typography component="h1" variant="h5">
|
||||
{title}
|
||||
</Typography>
|
||||
</>
|
||||
);
|
||||
|
||||
export default Title;
|
||||
Reference in New Issue
Block a user