Open alexprice1 opened 7 years ago
My entry file looks like this:
render() { render ( <StackNavigation id="mainApp" navigatorUID="mainApp" initialRoute={Router.getRoute('mainAppTabs')} /> ); }
And then my tabs look like this:
<SlidingTabNavigation id="mainAppTabs" navigatorUID="mainAppTabs" initialTab="add-location" > <SlidingTabNavigationItem id="add-location" title="add-location" > { /* Do not want to render anything here */ } </SlidingTabNavigationItem> </SlidingTabNavigation>
When ever I click on the "add-location" tab, I actually want to push a child route on the mainApp stack navigation. Any advice?
mainApp
It looks like we are not able to pass down all the appropriate props to react-native-tab-view: https://github.com/expo/ex-navigation/blob/master/src/sliding-tab/ExNavigationSlidingTab.js#L237
My entry file looks like this:
And then my tabs look like this:
When ever I click on the "add-location" tab, I actually want to push a child route on the
mainApp
stack navigation. Any advice?