Can Multiple tab added in under one tab in react navigation ? [React-native] [on hold]











up vote
0
down vote

favorite












Here in Bottom tab opt community. I want to add 3 top bar tab option
but I can't find out how to do it with react navigation



I am using React Navigation










share|improve this question









New contributor




tawkir haque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as unclear what you're asking by EdChum, Unheilig, greg-449, Umair, GhostCat 17 hours ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















    up vote
    0
    down vote

    favorite












    Here in Bottom tab opt community. I want to add 3 top bar tab option
    but I can't find out how to do it with react navigation



    I am using React Navigation










    share|improve this question









    New contributor




    tawkir haque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.











    put on hold as unclear what you're asking by EdChum, Unheilig, greg-449, Umair, GhostCat 17 hours ago


    Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Here in Bottom tab opt community. I want to add 3 top bar tab option
      but I can't find out how to do it with react navigation



      I am using React Navigation










      share|improve this question









      New contributor




      tawkir haque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      Here in Bottom tab opt community. I want to add 3 top bar tab option
      but I can't find out how to do it with react navigation



      I am using React Navigation







      react-native react-native-android react-native-navigation






      share|improve this question









      New contributor




      tawkir haque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      tawkir haque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 21 hours ago





















      New contributor




      tawkir haque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 21 hours ago









      tawkir haque

      12




      12




      New contributor




      tawkir haque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      tawkir haque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      tawkir haque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      put on hold as unclear what you're asking by EdChum, Unheilig, greg-449, Umair, GhostCat 17 hours ago


      Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






      put on hold as unclear what you're asking by EdChum, Unheilig, greg-449, Umair, GhostCat 17 hours ago


      Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Yes, you can do this by nesting tabs, here is a little example:



          const otherTab = createTabNavigator({
          OtherTab1: {
          screen: OtherTab1Screen
          },
          OtherTab2: {
          screen: OtherTab2Screen
          },
          OtherTab3: {
          screen: OtherTab3Screen
          }
          }, {
          initialRouteName: 'OtherTab1',
          });

          const Tabs = createBottomTabNavigator({
          Home: {
          screen: otherTab,
          },
          Events: {
          screen: EventStack,
          },
          Templates:{
          screen: TemplateStack
          }
          }, {
          initialRouteName: 'Home',
          tabBarOptions: {
          activeTintColor: theme.palette.primaryColor,
          },
          tabBarComponent: CustomTab,
          tabBarPosition: 'bottom',
          });


          notice that otherTab is nested inside a bottomTab. I hope this help.






          share|improve this answer




























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Yes, you can do this by nesting tabs, here is a little example:



            const otherTab = createTabNavigator({
            OtherTab1: {
            screen: OtherTab1Screen
            },
            OtherTab2: {
            screen: OtherTab2Screen
            },
            OtherTab3: {
            screen: OtherTab3Screen
            }
            }, {
            initialRouteName: 'OtherTab1',
            });

            const Tabs = createBottomTabNavigator({
            Home: {
            screen: otherTab,
            },
            Events: {
            screen: EventStack,
            },
            Templates:{
            screen: TemplateStack
            }
            }, {
            initialRouteName: 'Home',
            tabBarOptions: {
            activeTintColor: theme.palette.primaryColor,
            },
            tabBarComponent: CustomTab,
            tabBarPosition: 'bottom',
            });


            notice that otherTab is nested inside a bottomTab. I hope this help.






            share|improve this answer

























              up vote
              0
              down vote













              Yes, you can do this by nesting tabs, here is a little example:



              const otherTab = createTabNavigator({
              OtherTab1: {
              screen: OtherTab1Screen
              },
              OtherTab2: {
              screen: OtherTab2Screen
              },
              OtherTab3: {
              screen: OtherTab3Screen
              }
              }, {
              initialRouteName: 'OtherTab1',
              });

              const Tabs = createBottomTabNavigator({
              Home: {
              screen: otherTab,
              },
              Events: {
              screen: EventStack,
              },
              Templates:{
              screen: TemplateStack
              }
              }, {
              initialRouteName: 'Home',
              tabBarOptions: {
              activeTintColor: theme.palette.primaryColor,
              },
              tabBarComponent: CustomTab,
              tabBarPosition: 'bottom',
              });


              notice that otherTab is nested inside a bottomTab. I hope this help.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                Yes, you can do this by nesting tabs, here is a little example:



                const otherTab = createTabNavigator({
                OtherTab1: {
                screen: OtherTab1Screen
                },
                OtherTab2: {
                screen: OtherTab2Screen
                },
                OtherTab3: {
                screen: OtherTab3Screen
                }
                }, {
                initialRouteName: 'OtherTab1',
                });

                const Tabs = createBottomTabNavigator({
                Home: {
                screen: otherTab,
                },
                Events: {
                screen: EventStack,
                },
                Templates:{
                screen: TemplateStack
                }
                }, {
                initialRouteName: 'Home',
                tabBarOptions: {
                activeTintColor: theme.palette.primaryColor,
                },
                tabBarComponent: CustomTab,
                tabBarPosition: 'bottom',
                });


                notice that otherTab is nested inside a bottomTab. I hope this help.






                share|improve this answer












                Yes, you can do this by nesting tabs, here is a little example:



                const otherTab = createTabNavigator({
                OtherTab1: {
                screen: OtherTab1Screen
                },
                OtherTab2: {
                screen: OtherTab2Screen
                },
                OtherTab3: {
                screen: OtherTab3Screen
                }
                }, {
                initialRouteName: 'OtherTab1',
                });

                const Tabs = createBottomTabNavigator({
                Home: {
                screen: otherTab,
                },
                Events: {
                screen: EventStack,
                },
                Templates:{
                screen: TemplateStack
                }
                }, {
                initialRouteName: 'Home',
                tabBarOptions: {
                activeTintColor: theme.palette.primaryColor,
                },
                tabBarComponent: CustomTab,
                tabBarPosition: 'bottom',
                });


                notice that otherTab is nested inside a bottomTab. I hope this help.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 21 hours ago









                Osiel Lima

                1043




                1043















                    Popular posts from this blog

                    404 Error Contact Form 7 ajax form submitting

                    How to know if a Active Directory user can login interactively

                    Refactoring coordinates for Minecraft Pi buildings written in Python