SwitchActions is an object containing methods for generating actions specific to switch-based navigators. Its methods expand upon the actions available in
The following actions are supported:
- JumpTo - Jump to a route in the navigator
jumpTo action can be used to jump to an existing route in the switch navigator.
routeName- string - required -
routeNameof the route to jump to.
key- string - optional - If set, the action will be scoped to the switch-based navigator with the given key.