Skip to content

API Reference / @gtkx/navigation / TabHeaderProps

Type Alias: TabHeaderProps

TabHeaderProps = object

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

Arguments of a custom tab header renderer.

Properties

navigation: TabNavigationProp<ParamListBase>

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

Navigation object of the focused route.


options

options: TabNavigationOptions

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

Resolved options of the focused route.


route

route: RouteProp<ParamListBase>

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

The focused route.


viewSwitcher

viewSwitcher: ReactNode

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

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

Released under the MPL-2.0 License.