Closed Joergenson closed 3 years ago
Should fix the problem with views that don't need a bar icon :)
To use navigation make sure to use the object that is passed down to every screen by destructing the property
example of this could be:
function DebugScreen({ navigation })
then call navigation like this:
navigation.navigate("Login")
and finally, remember to validate the property
DebugScreen.propTypes = { navigation: PropTypes.object, };
Should fix the problem with views that don't need a bar icon :)
To use navigation make sure to use the object that is passed down to every screen by destructing the property
example of this could be:
function DebugScreen({ navigation })
then call navigation like this:
navigation.navigate("Login")
and finally, remember to validate the property
DebugScreen.propTypes = { navigation: PropTypes.object, };