react-native-router-flux: _reactNativeRouterFlux.Actions.Teams is not a function

I have my tabs and within tabs, I have a home scene and within that, I have a team scene

Here is my code

 <Scene key="tabBar" tabs hideNavBar={true}>
                            <Scene key='Home' component={Home} title='Home' initial={true}>
                                <Scene key='Teams' component={Teams} title='Teams' initial={false} />
                            </Scene>
                        </Scene>

But I can’t navigate to the team’s view/scene

I have Actions.Teams(); which is throws that error.

I need to have the team view part of the home stack and not a sperate tab.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 39 (16 by maintainers)

Most upvoted comments

You write Key with a capital K. It is key