header button this react native code example Example: stack navigation button onPress={() => navigation.navigate('Item Detail')}