Skip to content

Instantly share code, notes, and snippets.

@shysteph
Created October 1, 2018 15:17
Show Gist options
  • Save shysteph/2eab1e3a08af72e31cecf05d95fd7553 to your computer and use it in GitHub Desktop.
Save shysteph/2eab1e3a08af72e31cecf05d95fd7553 to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import withRoot from './withRoot';
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 withRoot(App);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment