mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 09:35:10 +01:00
24 lines
476 B
JavaScript
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;
|