Created
February 2, 2021 12:50
-
-
Save onlyoneaman/cfc5e21f6b10ea8e99e08b140ddcd0e0 to your computer and use it in GitHub Desktop.
chrome-app.js
This file contains 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 './App.css'; | |
import { changeColor } from './main'; | |
function App() { | |
return ( | |
<div className="App"> | |
<header className="App-header"> | |
<button onClick={changeColor}> | |
Change color | |
</button> | |
</header> | |
</div> | |
); | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment