add button to right side in header in stacknavigation reactnative code example Example: stack navigation button onPress={() => navigation.navigate('Item Detail')}