mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
24 lines
485 B
JavaScript
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;
|