Skip to content

Commit

Permalink
use hideNavBar in example. close #262
Browse files Browse the repository at this point in the history
always use hideNavBar in example instead showNavigationBar to avoid confusion
  • Loading branch information
zxcpoiu committed Mar 1, 2016
1 parent 36ffa9a commit 738e97d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example/Example.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default class Example extends React.Component {
<Route name="error" type="modal" component={Error}/>
<Route name="modalBox" type="modal" component={ReactNativeModalBox}/>
<Route name="tabbar">
<Router footer={TabBar} showNavigationBar={false}>
<Router footer={TabBar} hideNavBar={true}>
<Route name="tab1" schema="tab" title="Tab #1" >
<Router onPop={()=>{console.log("onPop is called!"); return true} }>
<Route name="tab1_1" component={TabView} title="Tab #1_1" />
Expand All @@ -106,4 +106,4 @@ export default class Example extends React.Component {
</Provider>
);
}
}
}

0 comments on commit 738e97d

Please sign in to comment.