import React, { FC } from 'react' import { makeStyles } from '@material-ui/styles' import { Typography, Container, Theme } from '@material-ui/core' const useStyles = makeStyles((theme: Theme) => ({ heroContent: { backgroundColor: theme.palette.background.paper, padding: theme.spacing(8, 0, 6), }, })) export interface HeroProps { title: string description?: string } const Hero: FC = ({ title, description = '', children }) => { const classes = useStyles() return (
{title} {description} {children}
) } export default Hero