diff --git a/docs/OTHER_INFO.md b/docs/OTHER_INFO.md index 171e72353..8fe8f3049 100644 --- a/docs/OTHER_INFO.md +++ b/docs/OTHER_INFO.md @@ -71,8 +71,44 @@ Lastly when calling the Modal pass the props defined in the component, for examp When the Modal is pressed it will set hide to true and return an empty view. -## Tabbar +## 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 parent. + +Customizing `TabBar`: + +```javascript +let style = StyleSheet.create({ + tabBarStyle: { + borderTopWidth : .5, + borderColor : '#b7b7b7', + backgroundColor: 'white', + opacity : 1 + } + }); + +// in your render method + + + +``` + +Refresh a particular `Scene` when a `Tab` is pressed: + +```javascript + + { + Actions.myTab_1({type: ActionConst.REFRESH}); + }} + > + + + +``` + ## 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