I am trying to add a search icon next to the menu icon on my header on the right side. I have tried repeating Icon.Button but there is no change. Using React Navigation, React Native Paper, and react-native-vector-icons/Iconicons.
<HomeStack.Navigator
screenOptions={{
headerStyle: {
backgroundColor: '#155888'
},
headerTintColor: '#fff',
headerTitleAlign: 'center',
headerRight: () => (
<Icon.Button
name='ios-menu'
size={30}
backgroundColor='#155888'
style={{ flexDirection:"row", paddingRight: 15 }}
onPress={() => { navigation.toggleDrawer() }}
/>
)
}}
>