Skip to content

API Reference / @gtkx/navigation / TabScreenProps

Type Alias: TabScreenProps<ParamList, RouteName, NavigatorID> ​

TabScreenProps<ParamList, RouteName, NavigatorID> = object

Defined in: packages/navigation/dist/tabs/types.d.ts:41

Props a tab screen component receives.

Type Parameters ​

ParamList ​

ParamList extends ParamListBase

RouteName ​

RouteName extends keyof ParamList = keyof ParamList

NavigatorID extends string | undefined = undefined

Properties ​

navigation: TabNavigationProp<ParamList, RouteName, NavigatorID>

Defined in: packages/navigation/dist/tabs/types.d.ts:43

Navigation object of the screen.


route ​

route: RouteProp<ParamList, RouteName>

Defined in: packages/navigation/dist/tabs/types.d.ts:45

The route the screen renders.