File tree
Expand file treeCollapse file tree6 files changed
+15
-0
lines changed Expand file treeCollapse file tree6 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;}) => {
|
185 | 185 | "navigation": navigation,
|
186 | 186 | "route": route,
|
187 | 187 | }),
|
| 188 | +~key: string=?, |
188 | 189 | unit
|
189 | 190 | ) =>
|
190 | 191 | screenProps(M.params);
|
@@ -199,6 +200,7 @@ module Make = (M: {type params;}) => {
|
199 | 200 | ~options: optionsCallback=?,
|
200 | 201 | ~initialParams: M.params=?,
|
201 | 202 | ~children: renderCallbackProp => React.element,
|
| 203 | +~key: string=?, |
202 | 204 | unit
|
203 | 205 | ) =>
|
204 | 206 | screenProps(M.params);
|
@@ -222,6 +224,7 @@ module Make = (M: {type params;}) => {
|
222 | 224 | ~_lazy: bool=?,
|
223 | 225 | ~tabBar: Js.t(bottomTabBarProps) => React.element=?,
|
224 | 226 | ~tabBarOptions: bottomTabBarOptions=?,
|
| 227 | +~key: string=?, |
225 | 228 | unit
|
226 | 229 | ) =>
|
227 | 230 | navigatorProps;
|
|
Original file line number | Diff line number | Diff line change |
---|
@@ -113,6 +113,7 @@ module Make = (M: {type params;}) => {
|
113 | 113 | "navigation": navigation,
|
114 | 114 | "route": route(M.params),
|
115 | 115 | }),
|
| 116 | +~key: string=?, |
116 | 117 | unit
|
117 | 118 | ) =>
|
118 | 119 | screenProps;
|
@@ -162,6 +163,7 @@ module Make = (M: {type params;}) => {
|
162 | 163 | ~drawerContentOptions: Js.t(contentOptions)=?,
|
163 | 164 | ~sceneContainerStyle: ReactNative.Style.t=?,
|
164 | 165 | ~style: ReactNative.Style.t=?,
|
| 166 | +~key: string=?, |
165 | 167 | unit
|
166 | 168 | ) =>
|
167 | 169 | navigatorProps;
|
|
Original file line number | Diff line number | Diff line change |
---|
@@ -124,6 +124,7 @@ module Make = (M: {type params;}) => {
|
124 | 124 | ~options: optionsCallback=?,
|
125 | 125 | ~initialParams: M.params=?,
|
126 | 126 | ~component: React.component({. "navigation": navigation}),
|
| 127 | +~key: string=?, |
127 | 128 | unit
|
128 | 129 | ) =>
|
129 | 130 | screenProps(M.params);
|
@@ -138,6 +139,7 @@ module Make = (M: {type params;}) => {
|
138 | 139 | ~options: optionsCallback=?,
|
139 | 140 | ~initialParams: M.params=?,
|
140 | 141 | ~children: renderCallbackProp => React.element,
|
| 142 | +~key: string=?, |
141 | 143 | unit
|
142 | 144 | ) =>
|
143 | 145 | screenProps(M.params);
|
@@ -164,6 +166,7 @@ module Make = (M: {type params;}) => {
|
164 | 166 | ~inactiveColor: string=?,
|
165 | 167 | ~barStyle: ReactNative.Style.t=?,
|
166 | 168 | //TODO: More? https://.com/callstack/react-native-paper/blob/bd4296116d841ed355f3dbebb40cfbc3b87a79ff/src/components/BottomNavigation.tsx#L132-L196
|
| 169 | +~key: string=?, |
167 | 170 | unit
|
168 | 171 | ) =>
|
169 | 172 | navigatorProps;
|
|
Original file line number | Diff line number | Diff line change |
---|
@@ -179,6 +179,7 @@ module Make = (M: {type params;}) => {
|
179 | 179 | ~options: optionsCallback=?,
|
180 | 180 | ~initialParams: M.params=?,
|
181 | 181 | ~component: React.component({. "navigation": navigation}),
|
| 182 | +~key: string=?, |
182 | 183 | unit
|
183 | 184 | ) =>
|
184 | 185 | screenProps(M.params);
|
@@ -193,6 +194,7 @@ module Make = (M: {type params;}) => {
|
193 | 194 | ~options: optionsCallback=?,
|
194 | 195 | ~initialParams: M.params=?,
|
195 | 196 | ~children: renderCallbackProp => React.element,
|
| 197 | +~key: string=?, |
196 | 198 | unit
|
197 | 199 | ) =>
|
198 | 200 | screenProps(M.params);
|
@@ -230,6 +232,7 @@ module Make = (M: {type params;}) => {
|
230 | 232 | ~swipeVelocityImpact: float=?,
|
231 | 233 | ~sceneContainerStyle: ReactNative.Style.t=?,
|
232 | 234 | ~style: ReactNative.Style.t=?,
|
| 235 | +~key: string=?, |
233 | 236 | unit
|
234 | 237 | ) =>
|
235 | 238 | navigatorProps;
|
|
Original file line number | Diff line number | Diff line change |
---|
@@ -99,6 +99,7 @@ module NavigationContainer = {
|
99 | 99 | [@bs.module "@react-navigation/native"] [@react.component]
|
100 | 100 | external make:
|
101 | 101 | (
|
| 102 | +~ref: ReactNative.NativeElement.ref=?, |
102 | 103 | ~initialState: state=?,
|
103 | 104 | ~onStateChange: navigationState=?,
|
104 | 105 | ~children: React.element
|
|
Original file line number | Diff line number | Diff line change |
---|
@@ -305,6 +305,7 @@ module Make = (M: {type params;}) => {
|
305 | 305 | ~options: optionsCallback=?,
|
306 | 306 | ~initialParams: M.params=?,
|
307 | 307 | ~children: renderCallbackProp => React.element,
|
| 308 | +~key: string=?, |
308 | 309 | unit
|
309 | 310 | ) =>
|
310 | 311 | screenProps(M.params);
|
@@ -323,6 +324,7 @@ module Make = (M: {type params;}) => {
|
323 | 324 | "navigation": navigation,
|
324 | 325 | "route": route,
|
325 | 326 | }),
|
| 327 | +~key: string=?, |
326 | 328 | unit
|
327 | 329 | ) =>
|
328 | 330 | screenProps(M.params);
|
@@ -340,6 +342,7 @@ module Make = (M: {type params;}) => {
|
340 | 342 | ~headerMode: [@bs.string] [ | `float | `screen | `none]=?,
|
341 | 343 | ~keyboardHandlingEnabled: bool=?,
|
342 | 344 | ~children: React.element,
|
| 345 | +~key: string=?, |
343 | 346 | unit
|
344 | 347 | ) =>
|
345 | 348 | navigatorProps;
|
|
You can’t perform that action at this time.
0 commit comments