Welcome to react-phone-number-input-field 👋
> Phone input component with country code and phone number masking with errors
### 🏠 [Homepage]( )
## Install
```sh
npm install --save react-phone-number-input-field
```
## Usage
```sh
import PhoneInputField from 'react-phone-number-input-field';
setValue(e.target.value)}
placeholder={'Enter your number'}
id={'phone-number-input'}
/>
```
## Options
| Name | Type | Description |
| ------------- |----------- | ----------- |
| classname | string | custom classname |
| defaultCountry | string | initial country |
| placeholder | string | custom placeholder |
| onlyCountries | array | country codes to be included |
| excludeCountries| array | country 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](https://github.com/kefranabg/readme-md-generator)_