react-native-navigators
Advanced tools
Comparing version 0.3.0-27 to 0.3.0-28
@@ -7,2 +7,2 @@ export * from './createNavigators'; | ||
export * from './types'; | ||
export * from './overrides'; | ||
export * from './removeAction'; |
@@ -7,3 +7,3 @@ export * from './createNavigators'; | ||
export * from './types'; | ||
export * from './overrides'; | ||
export * from './removeAction'; | ||
//# sourceMappingURL=index.js.map |
import React, { PureComponent } from 'react'; | ||
import StackActions from './StackActions'; | ||
import { StackActions } from 'react-navigation'; | ||
import { remove } from './removeAction'; | ||
import { NativeNavigatorModes } from './types'; | ||
@@ -50,3 +51,3 @@ import NativeStackNavigator from './NativeStackNavigator'; | ||
}); | ||
navigation.dispatch(StackActions.remove({ key: route.key })); | ||
navigation.dispatch(remove({ key: route.key })); | ||
}; | ||
@@ -53,0 +54,0 @@ } |
import { StackRouter as OriginalStackRouter } from 'react-navigation'; | ||
import { REMOVE } from './StackActions'; | ||
import { REMOVE } from './removeAction'; | ||
function iterateRoutesState(state, routeHandler) { | ||
@@ -4,0 +4,0 @@ const { routes, index } = state; |
{ | ||
"version": "0.3.0-27", | ||
"version": "0.3.0-28", | ||
"name": "react-native-navigators", | ||
@@ -4,0 +4,0 @@ "repository": { |
@@ -7,2 +7,2 @@ export * from './createNavigators'; | ||
export * from './types'; | ||
export * from './overrides'; | ||
export * from './removeAction'; |
@@ -11,3 +11,3 @@ import { | ||
import { NavigationRemoveAction, REMOVE } from './StackActions'; | ||
import { NavigationRemoveAction, REMOVE } from './removeAction'; | ||
import { NativeNavigationRouterConfig } from './types'; | ||
@@ -14,0 +14,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
393449
244
3997