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

View File

@@ -1,12 +1,10 @@
import './App.css';
import { Header } from "./components/header"
function App() {
return (
<div className="App">
<header className="App-header">
<h1>Lintu ja Maslo</h1>
<p><i>Elokuussa 2022</i></p>
</header>
<Header />
</div>
);
}