18 lines
465 B
TypeScript
Raw Normal View History

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