19 lines
487 B
TypeScript
Raw Normal View History

2022-12-21 13:56:42 +01:00
/* @refresh reload */
import { Component } from "solid-js";
import { SimpleProps, TitleProps } from "../types/interfaces";
import { H1 } from "./text";
const Header: Component<TitleProps> = ({ className, title }) => {
return (
<header class={ className }>
<H1 className={ "text-center" }>{ title }</H1>
<div class={"mx-auto w-fit"}>
<p>Av Martin Berg Alstad</p>
</div>
</header>
);
};
export default Header;