I am trying to add SVG icons in <Picker.Item /> using react-native-picker/picker library but it doesn't show.
Here I am putting a piece of code:
(language, index) => {
return(
<Picker.Item
label={ <EnglishFlag height={25} width={25} /> + language.name}
value={language.value}
key={index}
/>
)
});
I want to mention that I want to use only svg icon not emoji. Is there any way to do in this form?
Thanks in advance
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…