From 9178039399c486eb9f8b82a24da0f7d07954dba6 Mon Sep 17 00:00:00 2001 From: timzaak Date: Sun, 17 Apr 2016 02:22:28 +0800 Subject: [PATCH] 1. remove the useless default='...' 2. add more details about tabbar. this cost me lots of time to figure out why the navigation bar do not act as I expected. Hope to help others :) --- Example/Example.js | 2 +- README.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Example/Example.js b/Example/Example.js index b8840dd46..97783a69f 100644 --- a/Example/Example.js +++ b/Example/Example.js @@ -60,7 +60,7 @@ export default class Example extends React.Component { - + alert("Right button")} rightTitle="Right" /> diff --git a/README.md b/README.md index e49704c45..46c386bf7 100644 --- a/README.md +++ b/README.md @@ -176,7 +176,7 @@ export default class Example extends React.Component { - + alert("Right button")} rightTitle="Right" /> @@ -253,6 +253,8 @@ const reducerCreate = params=>{ return ; ``` +## Tabbar +Every tab has its own navigation bar. However, if you do not set its parent `` with `hideNavBar={true}`, the tabs' navigation bar will be overrided by their parient. ## Custom nav bar for individual scene or even different state of scene (new feature): Your scene `component` class could implement _static_ renderNavigationBar(props) method that could return different navbar depending from component props