Closed LitvinenkoEvgeny closed 5 years ago
Go to the readme and search for formatPhoneNumber
— there's no such function anymore.
Instead use parsePhoneNumberFromString().format(...)
.
@catamphetamine https://github.com/catamphetamine/react-phone-number-input#use
You're looking at the incorrect link. Look at this repo readme
yes but i'm don't use this lib directly, and why react-phone-number-input does not encapsulate it?
It's not clear what you mean and what you want
https://libphonenumber.appspot.com/phonenumberparser?number=89020423527&country=RU
demo: https://codesandbox.io/s/intelligent-pascal-wpkz3