kodobe-react-phone-input
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i kodobe-react-phone-input

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

125 kB

Total Files

4

Last publish

Collaborators

  • kodobe