Skip to content

API Reference / @gtkx/navigation / TabViewNavigationState

Type Alias: TabViewNavigationState<ParamList> ​

TabViewNavigationState<ParamList> = NavigationState<ParamList> & object

Defined in: packages/navigation/src/tab-view/types.ts:18

Navigation state of a tab view navigator. Pinned routes come first in routes, in pinnedKeys order.

Type Parameters ​

ParamList ​

ParamList extends ParamListBase

Type Declaration ​

parents ​

parents: Record<string, string>

Key of the tab each tab was opened from, by route key.

pinnedKeys ​

pinnedKeys: string[]

Keys of the pinned routes.

type ​

type: "tabview"

Type of the router, in this case tabview.