1.0.15 • Published 2 years ago

phone-input-react v1.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Phone Input React (TypeScript)

Highly customizable phone input component with auto formatting.

npm version npm downloads PRs Welcome travis build

animation

Installation

npm i phone-input-react --save

Usage

import PhoneInput from 'phone-input-react'
<PhoneInput
  phoneNumber: string;
  setPhoneNumber: (v: string|number) => void;
  defaultFlag?: string;
  startingSymbol?: string;
  className?: string;
/>

Contributing

  • Code style changes not allowed
  • Do not create issues about incorrect or missing country masks (of already present countries) or absent area codes (they will be closed). Only create issues if the subject is an actual mechanism that is not present in the component. Otherwise create a PR with a link that proves the correctness of your newly suggested mask or list of area codes
  • Do not send new languages

License

GitHub license

Based on libphonenumber-js

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago