kodobe-react-phone-input
v1.1.0
Published
Kodobe React Phonenumber Input
Downloads
12
Readme
Kodobe React PhoneNumber Input
This is a simple react phone-input package.
Install
npm install kodobe-react-phone-input
or
yarn add kodobe-react-phone-input
Setup
import phone-input from 'kodobe-react-phone-input';
Usage
import PhoneNumberInput from "kodobe-react-phone-input";
function App() {
return (
<div>
<h3>Here is how to use a PhoneNumberInput</h3>
<PhoneNumberInput
initialPhoneNumber={"08139194625}
name={"phoneNumber"}
initialCountryCode={"234"}
onChangePhone={(e) => {}}
isvalidCb={(bool) => {}}/>
</div>
);
}
Options
- initialPhoneNumber
- name
- initialCountryCode
- onChangePhone
- isvalidCb