Created
June 14, 2019 14:02
-
-
Save charly-palencia/ebfef37f6076e700659fe5e36446a6d9 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"; | |
| import logo from "./logo.svg"; | |
| import { AppContainer, Logo, Header, StyledLink } from "./components"; | |
| function App({ fetchColor, color }) { | |
| return ( | |
| <AppContainer> | |
| <Header color={color} onClick={fetchColor}> | |
| <Logo src={logo} alt="logo" /> | |
| <p> | |
| Edit <code>src/App.js</code> and save to reload. | |
| </p> | |
| </Header> | |
| </AppContainer> | |
| ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment