React Native component for phone number.
React Native component for phone number.
React Native Phone Number Input
Performance oriented React Native Phone Number Input with typings and proper validation for any country.
Made with ❤️ by developer for developers
Click on button.
$ yarn add react-native-phone-number-inputOR
$ npm i react-native-phone-number-input --saveFor more complete example open App.tsx
…defaultCode?: CountryCodewithDarkTheme?: booleanwithShadow?: booleanautoFocus?: booleandefaultValue?: stringvalue?: stringdisabled?: booleandisableArrowIcon?: booleanplaceholder?: string;onChangeCountry?: (country: Country) => void;onChangeText?: (text: string) => void;onChangeFormattedText?: (text: string) => void;containerStyle?: StyleProp;textContainerStyle?: StyleProp;renderDropdownImage?: JSX.Element;textInputProps?: TextInputProps;textInputStyle?: StyleProp;codeTextStyle?: StyleProp;flagButtonStyle?: StyleProp;countryPickerButtonStyle : StyleProp;layout?: "first" | "second";filterProps?: CountryFilterProps;countryPickerProps?: any;getCountryCode: () => CountryCodegetCallingCode: () => string | undefinedgetNumberAfterPossiblyEliminatingZero: () => {number: string , formattedNumber: string };isValidNumber: (number: string) => booleanYES
Upgrade versions['Flipper'] ||= '~> 0.37.0' in podfile.
To get started...
Option 1
Option 2
https://github.com/garganurag893/react-native-phone-number-inputhttps://github.com/garganurag893/react-native-phone-number-input.Reach out to me at one of the following places!
Looking for a React/React-Native Freelance Expert? Email at [email protected]
No open issues yet, or sync has not completed.