react-phone-number-input
react-phone-number-input copied to clipboard
(Webpack) export 'isPossiblePhoneNumber' was not found in 'react-phone-number-input'
Hi,
It happens in 2.5.x & 3.x. I'm using Webpack. You can see the source code here
I tried using like this:
import { isPossiblePhoneNumber } from 'react-phone-number-input'
Strange warning.
My tests show that isPossiblePhoneNumber is exported.
Try to reinstall lib.
Try changing it to import { isPossiblePhoneNumber } from 'react-phone-number-input/input'
Use libphonenumber-js instead
On Fri, 12 May 2023 at 23:35, Marcelo Gimenes de Oliveira < @.***> wrote:
Maybe change it to import { isPossiblePhoneNumber } from 'react-phone-number-input/input'
— Reply to this email directly, view it on GitHub https://github.com/catamphetamine/react-phone-number-input/issues/310#issuecomment-1546261644, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADUP32CMUYT666I5TGBM4TXF2NJNANCNFSM4KDYIW7A . You are receiving this because you commented.Message ID: @.***>