Created
October 9, 2016 15:39
-
-
Save brookslyrette/f7ae04cdb99a1a0ec7e571b310d8e261 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 from 'react'; | |
| import { Link } from 'react-router' | |
| import logo from './logo.svg'; | |
| import './App.css'; | |
| import DefaultRedditsContainer from './containers/DefaultRedditsContainer.js' | |
| const App = (props) => ( | |
| <div className="App container-fluid"> | |
| <div className="App-reddit-selector"> | |
| <Link to="/">Front</Link> - <Link to="/r/all">All</Link> | | |
| <DefaultRedditsContainer /> | |
| </div> | |
| <div className="App-header"> | |
| <img src={logo} className="App-logo" alt="logo" /> | |
| <strong>Reactit!</strong> An Example ReactJs Reddit front-end | |
| </div> | |
| {props.children} | |
| </div> | |
| ); | |
| export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment