import { FC } from 'react';

import Typography from '@material-hu/mui/Typography';

export type FormTitleProps = {
  title: string;
};

export const FormTitle: FC<FormTitleProps> = props => {
  const { title } = props;

  return (
    <Typography
      color="textPrimary"
      variant="h6"
    >
      {title}
    </Typography>
  );
};

export default FormTitle;
