HomePhabricator
Diffusion Comm aa04dc03fc03

[native] [20/34] ReactNav6: add defaultScreenOptions to NavigatorProps

Description

[native] [20/34] ReactNav6: add defaultScreenOptions to NavigatorProps

Summary:
Sourced from TypeScript types here.

TypeScript doesn't seem to be catching that createStackNavigator is passing this to StackView, though... otherwise it would note that defaultScreenOptions isn't in StackView's types here or here.

Depends on D5412

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/D5413

Details

Provenance
ashoatAuthored on Oct 18 2022, 10:59 AM
Reviewer
atul
Differential Revision
D5413: [native] [20/34] ReactNav6: add defaultScreenOptions to NavigatorProps
Parents
rCOMMf5a7d0a78bf9: [native] [19/34] ReactNav6: Update UseNavigationBuilder type
Branches
Unknown
Tags
Unknown