0.2.0 • Published 5 years ago

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

Weekly downloads
-
License
-
Repository
-
Last release
5 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

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago