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-19 17:16:01 +02:00

24 lines
476 B
JavaScript

import React from 'react';
import Router from 'react-router';
let Link = Router.Link;
let RouteHandler = Router.RouteHandler;
class AscribeApp extends React.Component {
render() {
return (
<div>
<header>ascribe</header>
<navigation>
<Link to="pieces">pieces</Link>
</navigation>
<RouteHandler />
</div>
);
}
};
export default AscribeApp;