Skip to content

API Reference / @gtkx/navigation / createTabViewNavigator

Function: createTabViewNavigator() ​

Call Signature ​

createTabViewNavigator<ParamList, NavigatorID, TypeBag>(): TypedNavigator<TypeBag, undefined>

Defined in: packages/navigation/src/tab-view/create-tab-view-navigator.tsx:103

Creates a navigator whose routes are the pages of an Adw.TabView, with a tab bar and an optional overview.

Type Parameters ​

ParamList ​

ParamList extends ParamListBase

NavigatorID extends string | undefined = string | undefined

TypeBag ​

TypeBag extends NavigatorTypeBagBase = TabViewTypeBag<ParamList, NavigatorID>

Returns ​

TypedNavigator<TypeBag, undefined>

Call Signature ​

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

Defined in: packages/navigation/src/tab-view/create-tab-view-navigator.tsx:109

Creates a navigator whose routes are the pages of an Adw.TabView, with a tab bar and an optional overview.

Type Parameters ​

ParamList ​

ParamList extends ParamListBase

NavigatorID extends string | undefined = string | undefined

TypeBag ​

TypeBag extends NavigatorTypeBagBase = TabViewTypeBag<ParamList, NavigatorID>

Config ​

Config extends StaticConfig<TypeBag> = StaticConfig<TypeBag>

Parameters ​

config ​

Config

Returns ​

TypedNavigator<TypeBag, Config>