Created
March 14, 2017 17:46
-
-
Save viniciusdacal/e39ceb8655f10955e62098f3f1864db9 to your computer and use it in GitHub Desktop.
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, { Component } from 'react'; | |
| import logo from './logo.svg'; | |
| import './App.css'; | |
| class App extends Component { | |
| render() { | |
| return React.createElement( | |
| 'div', | |
| { className: 'App' }, | |
| React.createElement( | |
| 'div', | |
| { className: 'App-header' }, | |
| React.createElement('img', { src: logo, className: 'App-logo', alt: 'logo' }), | |
| React.createElement( | |
| 'h2', | |
| null, | |
| 'Welcome to React' | |
| ) | |
| ), | |
| React.createElement( | |
| 'p', | |
| { className: 'App-intro' }, | |
| 'To get started, edit ', | |
| React.createElement( | |
| 'code', | |
| null, | |
| 'src/App.js' | |
| ), | |
| ' and save to reload.' | |
| ) | |
| ); | |
| } | |
| } | |
| export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment