Skip to content

API Reference / @gtkx/navigation / createTabNavigator

Function: createTabNavigator() ​

createTabNavigator<ParamList, NavigatorID, TypeBag, Config>(config?): TypedNavigator<TypeBag, Config>

Defined in: packages/navigation/dist/tabs/create-tab-navigator.d.ts:28

Creates a tab navigator rendered with AdwViewStack and an AdwViewSwitcher.

Type Parameters ​

ParamList ​

ParamList extends ParamListBase

NavigatorID extends string | undefined = string | undefined

TypeBag ​

TypeBag extends NavigatorTypeBagBase = TabTypeBag<ParamList, NavigatorID>

Config ​

Config extends StaticConfig<TypeBag> | undefined = undefined

Parameters ​

config? ​

Config

Returns ​

TypedNavigator<TypeBag, Config>