Skip to main content
Version: 6.x

TabActions reference

TabActions is an object containing methods for generating actions specific to tab-based navigators. Its methods expand upon the actions available in CommonActions.

The following actions are supported:

jumpTo

The jumpTo action can be used to jump to an existing route in the tab navigator.

  • name - string - Name of the route to jump to.
  • params - object - Screen params to pass to the destination route.
import { TabActions } from '@react-navigation/native';

const jumpToAction = TabActions.jumpTo('Profile', { user: 'Satya' });

navigation.dispatch(jumpToAction);