File tree Expand file tree Collapse file tree 6 files changed +15
-0
lines changed Expand file tree Collapse file tree 6 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ module Make = (M: {type params;}) => {
185185 "navigation": navigation ,
186186 "route": route ,
187187 }),
188+ ~key : string =?,
188189 unit
189190 ) =>
190191 screenProps (M . params );
@@ -199,6 +200,7 @@ module Make = (M: {type params;}) => {
199200 ~options : optionsCallback =?,
200201 ~initialParams : M . params =?,
201202 ~children : renderCallbackProp => React . element ,
203+ ~key : string =?,
202204 unit
203205 ) =>
204206 screenProps (M . params );
@@ -222,6 +224,7 @@ module Make = (M: {type params;}) => {
222224 ~_lazy : bool =?,
223225 ~tabBar : Js . t (bottomTabBarProps ) => React . element =?,
224226 ~tabBarOptions : bottomTabBarOptions =?,
227+ ~key : string =?,
225228 unit
226229 ) =>
227230 navigatorProps ;
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ module Make = (M: {type params;}) => {
113113 "navigation": navigation ,
114114 "route": route (M . params ),
115115 }),
116+ ~key : string =?,
116117 unit
117118 ) =>
118119 screenProps ;
@@ -162,6 +163,7 @@ module Make = (M: {type params;}) => {
162163 ~drawerContentOptions : Js . t (contentOptions )=?,
163164 ~sceneContainerStyle : ReactNative . Style . t =?,
164165 ~style : ReactNative . Style . t =?,
166+ ~key : string =?,
165167 unit
166168 ) =>
167169 navigatorProps ;
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ module Make = (M: {type params;}) => {
124124 ~options : optionsCallback =?,
125125 ~initialParams : M . params =?,
126126 ~component : React . component ({. "navigation": navigation }),
127+ ~key : string =?,
127128 unit
128129 ) =>
129130 screenProps (M . params );
@@ -138,6 +139,7 @@ module Make = (M: {type params;}) => {
138139 ~options : optionsCallback =?,
139140 ~initialParams : M . params =?,
140141 ~children : renderCallbackProp => React . element ,
142+ ~key : string =?,
141143 unit
142144 ) =>
143145 screenProps (M . params );
@@ -164,6 +166,7 @@ module Make = (M: {type params;}) => {
164166 ~inactiveColor : string =?,
165167 ~barStyle : ReactNative . Style . t =?,
166168 // TODO: More? https://github.com/callstack/react-native-paper/blob/bd4296116d841ed355f3dbebb40cfbc3b87a79ff/src/components/BottomNavigation.tsx#L132-L196
169+ ~key : string =?,
167170 unit
168171 ) =>
169172 navigatorProps ;
Original file line number Diff line number Diff line change @@ -179,6 +179,7 @@ module Make = (M: {type params;}) => {
179179 ~options : optionsCallback =?,
180180 ~initialParams : M . params =?,
181181 ~component : React . component ({. "navigation": navigation }),
182+ ~key : string =?,
182183 unit
183184 ) =>
184185 screenProps (M . params );
@@ -193,6 +194,7 @@ module Make = (M: {type params;}) => {
193194 ~options : optionsCallback =?,
194195 ~initialParams : M . params =?,
195196 ~children : renderCallbackProp => React . element ,
197+ ~key : string =?,
196198 unit
197199 ) =>
198200 screenProps (M . params );
@@ -230,6 +232,7 @@ module Make = (M: {type params;}) => {
230232 ~swipeVelocityImpact : float =?,
231233 ~sceneContainerStyle : ReactNative . Style . t =?,
232234 ~style : ReactNative . Style . t =?,
235+ ~key : string =?,
233236 unit
234237 ) =>
235238 navigatorProps ;
Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ module NavigationContainer = {
9999 [@ bs . module "@react-navigation/native" ] [@ react . component ]
100100 external make :
101101 (
102+ ~ref : ReactNative . NativeElement . ref =?,
102103 ~initialState : state =?,
103104 ~onStateChange : navigationState =?,
104105 ~children : React . element
Original file line number Diff line number Diff line change @@ -305,6 +305,7 @@ module Make = (M: {type params;}) => {
305305 ~options : optionsCallback =?,
306306 ~initialParams : M . params =?,
307307 ~children : renderCallbackProp => React . element ,
308+ ~key : string =?,
308309 unit
309310 ) =>
310311 screenProps (M . params );
@@ -323,6 +324,7 @@ module Make = (M: {type params;}) => {
323324 "navigation": navigation ,
324325 "route": route ,
325326 }),
327+ ~key : string =?,
326328 unit
327329 ) =>
328330 screenProps (M . params );
@@ -340,6 +342,7 @@ module Make = (M: {type params;}) => {
340342 ~headerMode : [@ bs . string ] [ | ` float | ` screen | ` none ] =?,
341343 ~keyboardHandlingEnabled : bool =?,
342344 ~children : React . element ,
345+ ~key : string =?,
343346 unit
344347 ) =>
345348 navigatorProps ;
You can’t perform that action at this time.
0 commit comments