react-native-phone-number-input
react-native-phone-number-input copied to clipboard
textInputStyle alignment issue in ios
textInputStyle text not aligned center while giving custom font size
<PhoneInput ref={phoneInput} defaultValue={phoneNumber} defaultCode="IN" layout="first" // textInputProps={{ ...FONTS.reg_font_14 }} textInputStyle={{ ...FONTS.reg_font_14, alignItems: 'center', justifyContent: 'center' }} countryPickerButtonStyle={{ backgroundColor: '#F9FAFB', width: 70, }} codeTextStyle={{ ...FONTS.sbold_font_14 }} containerStyle={{ borderColor: '#E5E7EB', height: 42, width: '100%', borderWidth: 1, borderRadius: 8, }} textContainerStyle={{ paddingVertical: 0, backgroundColor: '#FFFFFF' }} onChangeFormattedText={text => { setphoneNumber(text); }} />

Same !!!!
try like this
textInputStyle={{
alignSelf: "center",
}}
textContainerStyle={{
alignItems: "flex-end",
}}