import React from "react";
import classes from "./classes.module.scss";
import Typography, { ETypo } from "@Front/Components/DesignSystem/Typography";

type IProps = {
	content: string | JSX.Element;
};

export default class Header extends React.Component<IProps> {
	public override render(): JSX.Element {
		return (
			<header className={classes["root"]}>
				<Typography typo={ETypo.TITLE_H4}>{this.props.content}</Typography>
			</header>
		);
	}
}
