-
-
Save steve-ryan/73254744fd0ad913a56c316526f7e9d3 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