@join-com/rc-phone-input
Version:
React component for entering telephone numbers
31 lines (20 loc) • 774 B
Markdown
# rc-phone-input
[](https://www.npmjs.com/package/rc-phone-input)
[](https://www.npmjs.com/package/rc-phone-input)
International phone number `<input/>` in React with Ip-lookup
[See Demo](http://pitronalldak.github.io/rc-phone-input/)
## Screenshots
<img src="https://raw.githubusercontent.com/pitronalldak/rc-phone-input/master/docs/images/Screen-Shot.png" width="493" height="341"/>
## Installation
```
npm install rc-phone-input --save
```
## Usage
```js
import RCPhoneInput from 'rc-phone-input'
return (
<RCPhoneInput
value="+79152881980"
onChange={ value => console.log(value) } />
)
```