Skip to content

Instantly share code, notes, and snippets.

@buglessir
Created January 10, 2019 08:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buglessir/e31050b6c304041a8ab43f7fee44de01 to your computer and use it in GitHub Desktop.
Save buglessir/e31050b6c304041a8ab43f7fee44de01 to your computer and use it in GitHub Desktop.
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