diff --git a/README.md b/README.md index e234208..1f3be5f 100644 --- a/README.md +++ b/README.md @@ -696,6 +696,10 @@ export default function goHome() { let navigatorUID = Store.getState().navigation.currentNavigatorUID; Store.dispatch(NavigationActions.push(navigatorUID, Router.getRoute('home'))) } + +export default function jumpToProfileTab() { + Store.dispatch(NavigationActions.jumpToTab("main", {key: "profile"})) //assuming root tab navigatorUID is "main"and id of tab is "profile" +} ``` ### Screen Tracking / Analytics