We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78d154f + 266e395 commit 035c5fcCopy full SHA for 035c5fc
docs/material-bottom-tab-navigator.md
@@ -78,10 +78,9 @@ ID to locate this tab button in tests.
78
79
#### `tabBarOnPress`
80
81
-Callback to handle tap events; the argument is an object containing:
+Callback to handle press events; the argument is an object containing:
82
83
-* the `previousScene: { route, index }` which is the scene we are leaving
84
-* the `scene: { route, index }` that was tapped
85
-* the `jumpToIndex` method that can perform the navigation for you
+* `navigation`: navigation prop for the screen
+* `defaultHandler`: the default handler for tab press
86
87
Useful for adding a custom logic before the transition to the next scene (the tapped one) starts.
0 commit comments