Skip to content

Commit 035c5fc

Browse files
authored
Merge pull request react-navigation#183 from react-navigation/tab-docs
Updated tab navigator docs
2 parents 78d154f + 266e395 commit 035c5fc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/material-bottom-tab-navigator.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,9 @@ ID to locate this tab button in tests.
7878

7979
#### `tabBarOnPress`
8080

81-
Callback to handle tap events; the argument is an object containing:
81+
Callback to handle press events; the argument is an object containing:
8282

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
83+
* `navigation`: navigation prop for the screen
84+
* `defaultHandler`: the default handler for tab press
8685

8786
Useful for adding a custom logic before the transition to the next scene (the tapped one) starts.

0 commit comments

Comments
 (0)