Skip to content

Commit c761616

Browse files
cknittMoOx
authored andcommitted
Fix AppContainer (setNavigatorRef -> ref) (#21)
1 parent f147eb8 commit c761616

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/AppContainer.re

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type appContainerProps('screenProps) = {
2525
"persistNavigationState": option(persistNavigationState),
2626
"loadNavigationState": option(loadNavigationState),
2727
"screenProps": option('screenProps),
28-
"setNavigatorRef": Js.Nullable.t(NavigationContainer.t) => unit,
28+
"ref": Js.Nullable.t(NavigationContainer.t) => unit,
2929
};
3030

3131
[@bs.obj]
@@ -34,7 +34,7 @@ external makeProps:
3434
~persistNavigationState: persistNavigationState=?,
3535
~loadNavigationState: loadNavigationState=?,
3636
~screenProps: 'screenProps=?,
37-
~setNavigatorRef: Js.Nullable.t(NavigationContainer.t) => unit=?,
37+
~ref: Js.Nullable.t(NavigationContainer.t) => unit=?,
3838
~key: string=?,
3939
unit
4040
) =>
@@ -79,7 +79,7 @@ module Make = (S: {
7979
~persistNavigationState: persistNavigationState=?,
8080
~loadNavigationState: loadNavigationState=?,
8181
~screenProps: S.screenProps=?,
82-
~setNavigatorRef: Js.Nullable.t(NavigationContainer.t) => unit=?,
82+
~ref: Js.Nullable.t(NavigationContainer.t) => unit=?,
8383
~key: string=?,
8484
unit
8585
) =>

0 commit comments

Comments
 (0)