We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87c99cc commit be9fa37Copy full SHA for be9fa37
index.tsx
@@ -128,7 +128,7 @@ const CountryCodeDropdownPicker: React.FC<CountryCodeProps> = ({
128
<View style={[styles.row]}>
129
<TouchableOpacity style={{ flexDirection: 'row' }} onPress={ () => {_setCountries(countries); slideDown()} }>
130
<View style={[styles.selectedContainer, countryCodeContainerStyles]}>
131
- <Text style={{color: '#000', marginRight: 5}}>{_getFlag(selected)}</Text>
+ <Text style={{color: '#000', marginRight: 5}}>{ selected?.flag }</Text>
132
<Text style={[countryCodeTextStyles]}>{selected}</Text>
133
</View>
134
</TouchableOpacity>
0 commit comments