-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Title is not shown for either Chats or Contacts tabs for instance. But yes for a route outside tabbar. What am I doing wrong ?
<Router name="root" navigationBarStyle={styles.navBar} titleStyle={styles.navTitle}>
<Schema name="default" sceneConfig={Navigator.SceneConfigs.FloatFromRight}/>
<Schema name="withoutAnimation"/>
<Schema name="tab" type="switch" icon={TabIcon} />
<Route name="signIn" header={Header} component={SignIn} initial={true}/>
<Route name="messages" component={ChatMessagesContainer} title="Chat Messages"/>
<Route name="contactShow" component={ContactShowContainer} hideNavBar={true}/>
<Route name="newChat" component={NewChatContainer}/>
<Route name="tabbar">
<Router footer={TabBar} style={styles.tabBar}>
<Route name="tab1" schema="tab" title="Chats" component={ChatContainer}/>
<Route name="tab2" schema="tab" title="Projects"/>
<Route name="tab3" schema="tab" title="Contacts" component={ContactsIndexContainer}/>
<Route name="tab4" schema="tab" title='Me'/>
</Router>
</Route>
</Router>
Metadata
Metadata
Assignees
Labels
No labels