Error occurs when using React third-party component library
I want to use react-phone-number-input component in my project, but it gives error when I incorporate the component in my code. Picture 1 is the error it gives in browser and picture 2 is the error it gives in terminal. I wonder if anyone knows what's going on here or knows how to properly include third-party component library in the project?
I created a small project to reproduce the error I got just for referrence: https://github.com/MingdaMa/fresh-react-third-party-library
I created a small project to reproduce the error I got just for referrence: https://github.com/MingdaMa/fresh-react-third-party-library


GitHub
Contribute to MingdaMa/fresh-react-third-party-library development by creating an account on GitHub.
