aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/App.js')
-rw-r--r--modern/src/App.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/modern/src/App.js b/modern/src/App.js
new file mode 100644
index 00000000..203067e4
--- /dev/null
+++ b/modern/src/App.js
@@ -0,0 +1,21 @@
+import React, { Component } from 'react';
+import logo from './logo.svg';
+import './App.css';
+
+class App extends 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">
+ To get started, edit <code>src/App.js</code> and save to reload.
+ </p>
+ </div>
+ );
+ }
+}
+
+export default App;