A simple international phone number input component for React applications.
1. Install and import the component.
# NPM
$ npm i react-contact-number-inputimport { PhoneInput } from "react-contact-number-input";
2. Create a basic international telephone number input.
<PhoneInput onChange={function noRefCheck(){}} />
3. More component props.
<PhoneInput
disabled={disabled}
containerClass={containerClass}
countryCode={currentCountryCode}
onChange={handleOnChange}
placeholder={placeholder}
/>;
Author: vaibhav-systango
Live Demo: View The Demo
Download Link: Download The Source Code
Official Website: https://github.com/vaibhav-systango/react-contact-number-input
License: MIT