0.2.0 • Published 4 years ago

react-phone-number-input-field v0.2.0

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

Phone input component with country code and phone number masking with errors

šŸ  Homepage

Install

npm install --save react-phone-number-input-field

Usage

import PhoneInputField from 'react-phone-number-input-field';

  <PhoneInputField
        value={value}
        onChange={(e) => setValue(e.target.value)}
        placeholder={'Enter your number'}
        id={'phone-number-input'}
      />

Options

NameTypeDescription
classnamestringcustom classname
defaultCountrystringinitial country
placeholderstringcustom placeholder
onlyCountriesarraycountry codes to be included
excludeCountriesarraycountry codes to be excluded

Author

šŸ‘¤ Noopur Chhajed

Show your support

Give a ā­ļø if this project helped you!


This README was generated with ā¤ļø by readme-md-generator

0.2.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago