diff --git a/src/app/App.js b/src/app/App.js index 0f786ac..3792a31 100644 --- a/src/app/App.js +++ b/src/app/App.js @@ -1,11 +1,19 @@ // @flow import React from "react"; +import {IndexRoute, Route, Router, browserHistory} from "react-router"; +import Page from "./Page"; import CredExplorer from "./credExplorer/App"; export default class App extends React.Component<{}> { render() { - return ; + return ( + + + + + + ); } } diff --git a/src/app/Page.js b/src/app/Page.js new file mode 100644 index 0000000..51656f3 --- /dev/null +++ b/src/app/Page.js @@ -0,0 +1,13 @@ +// @flow + +import React, {type Node} from "react"; + +export default class Page extends React.Component<{|+children: Node|}> { + render() { + return ( +
+
{this.props.children}
+
+ ); + } +}