phone-number-with-country-code
v1.0.4
Published
react native component to create phone number input with country code.
Downloads
7
Maintainers
Readme
phone-number-with-country-code
phone-number-with-country-code is a react native component for phone number with country code.
Installation
$ npm i phone-number-with-country-code
Usage
import PhoneInput from 'phone-number-with-country-code';
Example
const [mobileNumber, setMobileNumber] = useState('');
.......
.......
<PhoneInput phoneNumber={(data) => {setMobileNumber(data) }} />
Github repository
| github | https://github.com/Ali-Mardini/phone-number-with-country-code