@@ -226,6 +226,7 @@ module Make = (
|
226 | 226 | ~headerBackAllowFontScaling: bool=?,
|
227 | 227 | ~headerBackground: headerBackgroundOptions => React.element=?,
|
228 | 228 | ~headerBackImage: backImage=?,
|
| 229 | +~headerBackTestID: string=?, |
229 | 230 | ~headerBackTitle: string=?,
|
230 | 231 | ~headerBackTitleStyle: ReactNative.Style.t=?,
|
231 | 232 | ~headerBackTitleVisible: bool=?,
|
@@ -260,6 +261,9 @@ module Make = (
|
260 | 261 | }
|
261 | 262 | type optionsCallback = optionsProps => options
|
262 | 263 |
|
| 264 | +type getIdProps = {params: M.params} |
| 265 | +type getIdCallback = getIdProps => option<string> |
| 266 | + |
263 | 267 | type groupProps = {screenOptions: option<optionsCallback>}
|
264 | 268 |
|
265 | 269 | type navigatorProps = {
|
@@ -273,6 +277,7 @@ module Make = (
|
273 | 277 | type screenProps<'params> = {
|
274 | 278 | name: string,
|
275 | 279 | options: option<optionsCallback>,
|
| 280 | +getId: option<getIdCallback>, |
276 | 281 | initialParams: option<'params>,
|
277 | 282 | component: option<React.component<{"navigation": navigation, "route": route}>>,
|
278 | 283 | children: option<renderCallbackProp => React.element>,
|
@@ -291,6 +296,7 @@ module Make = (
|
291 | 296 | external makeProps: (
|
292 | 297 | ~name: string,
|
293 | 298 | ~options: optionsCallback=?,
|
| 299 | +~getId: getIdCallback=?, |
294 | 300 | ~initialParams: M.params=?,
|
295 | 301 | ~children: renderCallbackProp => React.element,
|
296 | 302 | ~key: string=?,
|
@@ -304,6 +310,7 @@ module Make = (
|
304 | 310 | external makeProps: (
|
305 | 311 | ~name: string,
|
306 | 312 | ~options: optionsCallback=?,
|
| 313 | +~getId: getIdCallback=?, |
307 | 314 | ~initialParams: M.params=?,
|
308 | 315 | ~component: React.component<{"navigation": navigation, "route": route}>,
|
309 | 316 | ~key: string=?,
|
|
0 commit comments