Function: useNavigation
▸ useNavigation(): NavigationContext
Use this hook to get the navigation of the app. Note that if can be undefined if the navigation has not yet been resolved (you used a NavigationBuilder and the user is not authenticated.
▸ useNavigation(): NavigationContext
Use this hook to get the navigation of the app. Note that if can be undefined if the navigation has not yet been resolved (you used a NavigationBuilder and the user is not authenticated.