Pass getCustomActionCreators to StackRouter (#4366)

This commit is contained in:
Hunkyo Jung 2018-06-01 11:21:11 +09:00 committed by Eric Vicenti
parent a3956bf3ce
commit 51965eac38

View File

@ -13,6 +13,7 @@ function createStackNavigator(routeConfigMap, stackConfig = {}) {
paths,
navigationOptions,
disableKeyboardHandling,
getCustomActionCreators,
} = stackConfig;
const stackRouterConfig = {
@ -21,6 +22,7 @@ function createStackNavigator(routeConfigMap, stackConfig = {}) {
initialRouteParams,
paths,
navigationOptions,
getCustomActionCreators,
};
const router = StackRouter(routeConfigMap, stackRouterConfig);