Created
January 10, 2019 08:59
-
-
Save buglessir/e31050b6c304041a8ab43f7fee44de01 to your computer and use it in GitHub Desktop.
This file contains 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 { render } from 'react-dom'; | |
import './style.scss'; | |
import img from './image.jpg'; | |
const App = () => { | |
return ( | |
<div> | |
<h1>Hello, World !</h1> | |
<img src={img} alt="image" /> | |
</div> | |
) | |
} | |
render( | |
<App/>, | |
document.getElementById('root') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment