Last active
March 26, 2019 02:56
-
-
Save ryanjyost/70c6fc7f512d305a17d7f35f9472fdbe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react"; | |
| const TopBar = ({ styles }) => { | |
| const topBarStyle = { | |
| position: "fixed", | |
| top: 0, | |
| display: "flex", | |
| justifyContent: "space-between", | |
| alignItems: "center", | |
| width: "100%", | |
| height: styles.topBarHeight, | |
| backgroundColor: styles.white(), | |
| borderBottom: `1px solid ${styles.black(0.1)}`, | |
| fontWeight: "bold", | |
| padding: "0px 20px", | |
| boxSizing: "border-box" | |
| }; | |
| return ( | |
| <div style={topBarStyle}> | |
| <span>{`😺️`}</span> | |
| App | |
| <span>{`⚙️`}</span> | |
| </div> | |
| ); | |
| }; | |
| export default TopBar; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment