Skip to content

Please how can i implement Router in react-native-scrollable-tab-view #198

@miknonny

Description

@miknonny

I have been able to implement Router on one of my views by going through the example.
But when i try to nest it on one of the tabs from https://github.com/brentvatne/react-native-scrollable-tab-view nothing shows up except for the tabs. I do not see the router component in tabs.

...
return (
      <View style={styles.container}>
       <ScrollableTabView initialPage={0} renderTabBar={() => <TabBar />}>
         <ScrollView tabLabel="ios-videocam-outline" style={styles.tabView}>
            <Router hideNavBar={true} wrapRouter={true}>
              ...
            </Router>
         </ScrollView>
      </ScrollableTabView>
     </View>
)

thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions