1import React, { Component } from 'react';
2import logo from './logo.svg';
3import './App.css';
4
5class App extends Component {
6 render() {
7 return (
8 <div className="App">
9 <div className="App-header">
10 <img src={logo} className="App-logo" alt="logo" />
11 <h2>Welcome to React</h2>
12 </div>
13 <p className="App-intro">
14 To get started, edit <code>src/App.js</code> and save to reload.
15 </p>
16 </div>
17 );
18 }
19}
20
21export default App;