You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
e.g. The mapLeftButtonToRoute could call a prop mapLeftButtonToRoute. This way it is possible to handle the left button inside the app component.
mapLeftButtonToRoute(route,navigator,index,navState){// check route static methods for a left buttonvarnavigatorItem=this.callRouteFunction('navigationBarLeftButton',route,navigator,index,navState);if(navigatorItem){returnnavigatorItem;}// check props for a left buttonif(this.props.mapLeftButtonToRoute){navigatorItem=mapLeftButtonToRoute(route,navigator,index,navState);if(navigatorItem){returnnavigatorItem;}}// default to a simple back buttonif(index>0){return<BackButtononPress={this.onPressBackButton}/>;}// just in case nothing handles the left button we return a empty viewreturn<View/>;}
The text was updated successfully, but these errors were encountered:
e.g. The mapLeftButtonToRoute could call a prop mapLeftButtonToRoute. This way it is possible to handle the left button inside the app component.
The text was updated successfully, but these errors were encountered: