navigation goback prop react native code example Example: go back react native navigation onPress={() => { this.props.navigation.goBack()}}