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,
|
||||
navigationOptions,
|
||||
disableKeyboardHandling,
|
||||
getCustomActionCreators,
|
||||
} = stackConfig;
|
||||
|
||||
const stackRouterConfig = {
|
||||
@ -21,6 +22,7 @@ function createStackNavigator(routeConfigMap, stackConfig = {}) {
|
||||
initialRouteParams,
|
||||
paths,
|
||||
navigationOptions,
|
||||
getCustomActionCreators,
|
||||
};
|
||||
|
||||
const router = StackRouter(routeConfigMap, stackRouterConfig);
|
||||
|
Loading…
x
Reference in New Issue
Block a user