From 3025c02a341d7e09f8c35ac929d4a343302d63fe Mon Sep 17 00:00:00 2001 From: Pavlo Aksonov Date: Tue, 12 Jan 2016 15:55:29 +0100 Subject: [PATCH 1/3] fix header/footer, #112 --- ExRouter.js | 6 +++--- Example/Example.js | 8 +++++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ExRouter.js b/ExRouter.js index 0db21f827..52de7e47e 100644 --- a/ExRouter.js +++ b/ExRouter.js @@ -54,10 +54,10 @@ export class ExRouteAdapter { : React.cloneElement(React.Children.only(this.route.children), {...this.route.props, data:this.props, route:this.route}); - const Header = this.route.props.header; + const Header = this.route.header; const header = Header ?
: null; - const Footer = this.route.props.footer; + const Footer = this.route.footer; const footer = Footer ?