Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame
561 Bytes
import { Typography, Box, useTheme } from "@mui/material";
import { tokens } from "../theme";
const Header = ({ title, subtitle }) => {
const theme = useTheme();
const colors = tokens(theme.palette.mode);
return (
<Box mb="30px">
<Typography
variant="h2"
color={colors.grey[100]}
fontWeight="bold"
sx={{ m: "0 0 5px 0" }}
>
{title}
</Typography>
<Typography variant="h5" color={colors.greenAccent[400]}>
{subtitle}
</Typography>
</Box>
);
};
export default Header;