mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-22 16:18:24 +00:00
Pass getCustomActionCreators to StackRouter (#4366)
This commit is contained in:
parent
a3956bf3ce
commit
51965eac38
@ -13,6 +13,7 @@ function createStackNavigator(routeConfigMap, stackConfig = {}) {
|
|||||||
paths,
|
paths,
|
||||||
navigationOptions,
|
navigationOptions,
|
||||||
disableKeyboardHandling,
|
disableKeyboardHandling,
|
||||||
|
getCustomActionCreators,
|
||||||
} = stackConfig;
|
} = stackConfig;
|
||||||
|
|
||||||
const stackRouterConfig = {
|
const stackRouterConfig = {
|
||||||
@ -21,6 +22,7 @@ function createStackNavigator(routeConfigMap, stackConfig = {}) {
|
|||||||
initialRouteParams,
|
initialRouteParams,
|
||||||
paths,
|
paths,
|
||||||
navigationOptions,
|
navigationOptions,
|
||||||
|
getCustomActionCreators,
|
||||||
};
|
};
|
||||||
|
|
||||||
const router = StackRouter(routeConfigMap, stackRouterConfig);
|
const router = StackRouter(routeConfigMap, stackRouterConfig);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user