Closed muneebahmedayub closed 1 year ago
FIX #860
The types were already exported from @react-navigation, I used withLayoutContext with generics to add those types in Stack, Tabs and Drawer navigation
@react-navigation
withLayoutContext
Stack
Tabs
Drawer
This pull request can be tested by checking the types of listener prop in any navigator in one of the sandbox projects in app directory
Motivation
FIX #860
Execution
The types were already exported from
@react-navigation
, I usedwithLayoutContext
with generics to add those types inStack
,Tabs
andDrawer
navigationTest Plan
This pull request can be tested by checking the types of listener prop in any navigator in one of the sandbox projects in app directory