Created
March 13, 2019 14:10
-
-
Save vsavkin/f414869419e0387a1a0c352b7053eb9b 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 * as React from 'react'; | |
import { Component } from 'react'; | |
import './app.css'; | |
export class App extends Component { | |
render() { | |
const title = 'reactapp'; | |
return ( | |
<div> | |
<div style={{ textAlign: 'center' }}> | |
<h1>Welcome to {title}!</h1> | |
<img | |
width="300" | |
src="https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png" | |
/> | |
</div> | |
<p> | |
This is a React app built with <a href="https://nx.dev">Nx</a>. | |
</p> | |
</div> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment