Skip to content

API Reference / @gtkx/navigation / TabViewNavigationEventMap

Type Alias: TabViewNavigationEventMap ​

TabViewNavigationEventMap = object

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

Events the tab view navigator emits on top of React Navigation's core events.

Properties ​

indicatorActivated ​

indicatorActivated: object

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

The user activated the tab's indicator icon.

data ​

data: undefined

No payload.


tabPress ​

tabPress: object

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

The user selected a tab natively.

canPreventDefault ​

canPreventDefault: true

Calling preventDefault keeps the current tab.

data ​

data: undefined

No payload.