Skip to content

Instantly share code, notes, and snippets.

@onlyoneaman
Created February 2, 2021 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onlyoneaman/cfc5e21f6b10ea8e99e08b140ddcd0e0 to your computer and use it in GitHub Desktop.
Save onlyoneaman/cfc5e21f6b10ea8e99e08b140ddcd0e0 to your computer and use it in GitHub Desktop.
chrome-app.js
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