Created
April 27, 2019 13:42
-
-
Save antosan/74f840ef35cefb58e3c842e88e8ba124 to your computer and use it in GitHub Desktop.
react-webpack-demo
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 "./App.css"; | |
class App extends React.Component { | |
render() { | |
return ( | |
<div className="app"> | |
<header className="app-header"> | |
<img src={logo} className="app-logo" alt="logo" /> | |
<h1 className="app-title">Welcome to React</h1> | |
</header> | |
<p className="app-intro"> | |
A JavaScript library for building user interfaces. | |
</p> | |
</div> | |
); | |
} | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment