Skip to content

API Reference / @gtkx/navigation / TabHeaderProps

Type Alias: TabHeaderProps ​

TabHeaderProps = object

Defined in: packages/navigation/src/tabs/types.ts:79

Arguments of a custom tab header renderer.

Properties ​

navigation: TabNavigationProp<ParamListBase>

Defined in: packages/navigation/src/tabs/types.ts:83

Navigation object of the focused route.


options ​

options: TabNavigationOptions

Defined in: packages/navigation/src/tabs/types.ts:85

Resolved options of the focused route.


route ​

route: RouteProp<ParamListBase>

Defined in: packages/navigation/src/tabs/types.ts:81

The focused route.


viewSwitcher ​

viewSwitcher: ReactNode

Defined in: packages/navigation/src/tabs/types.ts:87

The view switcher to place in the header when tabBarPosition is "top".