1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 09:35:10 +01:00
onion/js/components/ascribe_app.js
2015-05-20 17:35:52 +02:00

24 lines
485 B
JavaScript

import React from 'react';
import Router from 'react-router';
import Header from '../components/header';
let Link = Router.Link;
let RouteHandler = Router.RouteHandler;
let AscribeApp = React.createClass({
render() {
return (
<div>
<Header />
<nav>
<Link to="pieces">pieces</Link>
</nav>
<RouteHandler />
</div>
);
}
});
export default AscribeApp;