Skip to content

Instantly share code, notes, and snippets.

@BrodaNoel
Created June 7, 2017 20:02
Show Gist options
  • Save BrodaNoel/24d3b65bbaf759870cce4a0777e74970 to your computer and use it in GitHub Desktop.
Save BrodaNoel/24d3b65bbaf759870cce4a0777e74970 to your computer and use it in GitHub Desktop.
react-fancy-project-2
import React, { Component } from 'react';
import Fancy from 'react-fancy-component';
import logo from './logo.svg';
import './App.css';
class App extends Component {
render() {
return (
<div className="App">
<div className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h2>Welcome to React</h2>
</div>
<p className="App-intro">
To get started, edit <code>src/App.js</code> and save to reload.
</p>
This is our Fancy Component: <Fancy />
</div>
);
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment