How to use the @react-navigation/routers.TabActions.jumpTo function in @react-navigation/routers

To help you get started, we’ve selected a few @react-navigation/routers examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github react-navigation / navigation-ex / packages / material-bottom-tabs / src / views / MaterialBottomTabView.tsx View on Github external
onIndexChange={(index: number) =>
        navigation.dispatch({
          ...TabActions.jumpTo(state.routes[index].name),
          target: state.key,
        })
      }
github react-navigation / navigation-ex / packages / material-top-tabs / src / views / MaterialTopTabView.tsx View on Github external
onIndexChange={index =>
        navigation.dispatch({
          ...TabActions.jumpTo(state.routes[index].name),
          target: state.key,
        })
      }