18 lines
453 B
TypeScript
18 lines
453 B
TypeScript
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_H3}>{this.props.content}</Typography>
|
|
</header>
|
|
);
|
|
}
|
|
}
|