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

24 lines
476 B
JavaScript
Raw Normal View History

2015-05-13 16:26:12 +02:00
import React from 'react';
2015-05-15 15:38:25 +02:00
import Router from 'react-router';
2015-05-18 18:00:12 +02:00
2015-05-19 17:16:01 +02:00
let Link = Router.Link;
let RouteHandler = Router.RouteHandler;
2015-05-13 16:26:12 +02:00
2015-05-18 18:00:12 +02:00
class AscribeApp extends React.Component {
2015-05-18 18:00:12 +02:00
render() {
return (
<div>
<header>ascribe</header>
<navigation>
<Link to="pieces">pieces</Link>
</navigation>
2015-05-18 18:00:12 +02:00
<RouteHandler />
</div>
);
}
2015-05-13 16:26:12 +02:00
};
export default AscribeApp;