Working on a React-Native Project:
How can I vertically align the settings icon and settings text?
Here is my working code for the picture above:
<HomeStack.Navigator headerMode="screen" >
<HomeStack.Screen name = "Home" children={() => <HomeScreen} />} options={{
title:'Overview',
headerTitleAlign: 'center',
headerStyle: {
backgroundColor: '#e67e22',
},
headerTitleStyle: {
color: 'white'
},
headerRight: () => (
<Icon.Button name="cog-outline" size={30}
backgroundColor="#e67e22" color="white" paddingLeft= {15} >
<Text>Settings</Text>
</Icon.Button>
),
headerLeft: () => (
<Icon.Button name="exit-outline" size={30}
backgroundColor="#e67e22" color="white" paddingLeft= {15} onPress={() => {signOut()}}>LogOut</Icon.Button>
)
}}/>
</HomeStack.Navigator>

