HomePhabricator
Diffusion Comm f5a7d0a78bf9

[native] [19/34] ReactNav6: Update UseNavigationBuilder type

Description

[native] [19/34] ReactNav6: Update UseNavigationBuilder type

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

Reviewers: atul, tomek, bartek

Reviewed By: atul

Subscribers: abosh

Differential Revision: https://phab.comm.dev/D5412

Details