import React from 'react'; import AppBase from './app_base'; import Header from './header'; const AscribeApp = React.createClass({ propTypes: { activeRoute: React.PropTypes.object.isRequired, children: React.PropTypes.element.isRequired, routes: React.PropTypes.arrayOf(React.PropTypes.object).isRequired }, render() { const { activeRoute, children, routes } = this.props; const RouteFooterType = activeRoute && activeRoute.footer; return (