From c76161627d9986d86e6abcadfcfa7e15bb1d4cd8 Mon Sep 17 00:00:00 2001 From: Christoph Knittel Date: Tue, 17 Dec 2019 15:17:07 +0100 Subject: [PATCH] Fix AppContainer (setNavigatorRef -> ref) (#21) --- src/AppContainer.re | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AppContainer.re b/src/AppContainer.re index 4d20cc5b..d7c209e1 100644 --- a/src/AppContainer.re +++ b/src/AppContainer.re @@ -25,7 +25,7 @@ type appContainerProps('screenProps) = { "persistNavigationState": option(persistNavigationState), "loadNavigationState": option(loadNavigationState), "screenProps": option('screenProps), - "setNavigatorRef": Js.Nullable.t(NavigationContainer.t) => unit, + "ref": Js.Nullable.t(NavigationContainer.t) => unit, }; [@bs.obj] @@ -34,7 +34,7 @@ external makeProps: ~persistNavigationState: persistNavigationState=?, ~loadNavigationState: loadNavigationState=?, ~screenProps: 'screenProps=?, - ~setNavigatorRef: Js.Nullable.t(NavigationContainer.t) => unit=?, + ~ref: Js.Nullable.t(NavigationContainer.t) => unit=?, ~key: string=?, unit ) => @@ -79,7 +79,7 @@ module Make = (S: { ~persistNavigationState: persistNavigationState=?, ~loadNavigationState: loadNavigationState=?, ~screenProps: S.screenProps=?, - ~setNavigatorRef: Js.Nullable.t(NavigationContainer.t) => unit=?, + ~ref: Js.Nullable.t(NavigationContainer.t) => unit=?, ~key: string=?, unit ) =>