Created
September 12, 2018 06:20
-
-
Save joshuacrass/bcbec4f143e537b0d9a88c434b23cb93 to your computer and use it in GitHub Desktop.
webpack-scss app.jsx
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 React from 'react'; | |
import { hot } from 'react-hot-loader'; | |
import Button from 'Components/button'; | |
import style from './app.scss'; | |
const App = () => ( | |
<div className={style.app}> | |
React Starter | |
<span role="img" aria-label="rocket ship"> | |
🚀 | |
</span> | |
<Button /> | |
<div className={style.sassyDiv}>Get Sassy!</div> | |
</div> | |
); | |
export default hot(module)(App); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment