Header to it's own component.

This commit is contained in:
codevictory
2021-10-21 00:47:12 +03:00
parent 50df638bf9
commit 9e66d5a5dd
4 changed files with 22 additions and 15 deletions

10
src/components/header.tsx Normal file
View File

@@ -0,0 +1,10 @@
import "./../styles/header.css"
export const Header = () => {
return (
<header className="App-header">
<h1>Lintu ja Maslo</h1>
<p><i>Elokuussa 2022</i></p>
</header>
)
}