20 lines
352 B
TypeScript
Raw Normal View History

2023-07-21 22:22:19 -04:00
import Typography from "@mui/material/Typography";
import { Helmet } from "react-helmet-async";
interface IProps {
title: string;
}
const Title = ({ title }: IProps) => (
<>
<Helmet>
2023-09-04 16:13:20 -04:00
<title>Todo | {title}</title>
2023-07-21 22:22:19 -04:00
</Helmet>
<Typography component="h1" variant="h5">
{title}
</Typography>
</>
);
export default Title;