diff --git a/src/PhoneInput/PhoneInput.tsx b/src/PhoneInput/PhoneInput.tsx index 3cb5e42..675c862 100644 --- a/src/PhoneInput/PhoneInput.tsx +++ b/src/PhoneInput/PhoneInput.tsx @@ -4,7 +4,7 @@ import CountryPicker, { CountryModalProvider, DARK_THEME, DEFAULT_THEME, - Flag, + FlagButton, } from 'react-native-country-picker-modal'; import MaskInput from 'react-native-mask-input'; import { EXCLUDED_COUNTRIES } from './constants'; @@ -43,9 +43,10 @@ export const PhoneInput: React.FC = (props) => { const renderFlagButton = useCallback( () => ( - ),