NavBar: extract Header into NavBar and Panorama components

This commit is contained in:
rektdeckard
2020-07-29 12:11:47 -04:00
parent ecb51191d8
commit 541dce65fb
7 changed files with 122 additions and 32 deletions

View File

@@ -1,24 +0,0 @@
import React from "react";
import "./Header.css";
type HeaderProps = {};
const Header: React.FC<HeaderProps> = () => {
return (
<header>
<div style={{ paddingLeft: 32 }}>
<h1>Phosphor Icons</h1>
</div>
<div style={{ paddingRight: 32, textAlign: "end" }}>
<button>Download all</button>
<button>Request</button>
<button>Donate</button>
<a href="https://github.com/rektdeckard/phosphor-react">
<button>Github</button>
</a>
</div>
</header>
);
};
export default Header;