We can unify this to use the new NavigatorProps type introduced in D5409.
We can see the TypeScript types upstream use the same construction.
Depends on D5411
Paths
| Differential D5412 Authored by ashoat on Oct 20 2022, 6:17 AM.
Details Summary We can unify this to use the new NavigatorProps type introduced in D5409. We can see the TypeScript types upstream use the same construction. Depends on D5411 Test Plan Flow + ran the app on my phone and played around with it
Diff Detail
Event TimelineHerald added a subscriber: • abosh. · View Herald TranscriptOct 20 2022, 6:17 AM2022-10-20 06:17:04 (UTC-7) Harbormaster returned this revision to the author for changes because remote builds failed.Oct 20 2022, 6:28 AM2022-10-20 06:28:18 (UTC-7) Harbormaster completed remote builds in B12899: Diff 17690.Oct 20 2022, 6:57 AM2022-10-20 06:57:17 (UTC-7) This revision is now accepted and ready to land.Oct 20 2022, 12:44 PM2022-10-20 12:44:20 (UTC-7) Closed by commit rCOMMf5a7d0a78bf9: [native] [19/34] ReactNav6: Update UseNavigationBuilder type (authored by ashoat). · Explain WhyOct 20 2022, 1:47 PM2022-10-20 13:47:41 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 17776 native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js
native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js
native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js
native/flow-typed/npm/@react-navigation/native_v5.x.x.js
native/flow-typed/npm/@react-navigation/stack_v5.x.x.js
|