Skip to content

API Reference / @gtkx/navigation / TabRouterOptions

Type Alias: TabRouterOptions

TabRouterOptions = DefaultRouterOptions & object

Defined in: node_modules/.pnpm/@react-navigation+routers@7.6.4/node_modules/@react-navigation/routers/lib/typescript/src/SwitchRouter.d.ts:11

Type Declaration

backBehavior?

optional backBehavior?: BackBehavior

Control how going back should behave

  • firstRoute - return to the first defined route
  • initialRoute - return to the route from initialRouteName
  • order - return to the route defined before the focused route
  • history - return to last visited route; if the same route is visited multiple times, the older entries are dropped from the history
  • fullHistory - return to last visited route; doesn't drop duplicate entries unlike history - matches behavior of web pages
  • none - do not handle going back

Released under the MPL-2.0 License.