0.2.0 ā€¢ Published 3 years ago

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

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

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago