Skip to content
Advertisement

Tag: react-phone-input-2

How to use react-phone-input-2 with Typescript

I am new to Typescript but I’m forcing myself to program in it because they say it is “best” practice and beneficial in the long run… so now I’m trying to use react-phone-input-2 https://www.npmjs.com/package/react-phone-input-2 The example on the page above is for just standard Javascript. I did follow it…the widget does show up…however I can’t type anything inside the input…

Advertisement