react-phone-input-2 icon indicating copy to clipboard operation
react-phone-input-2 copied to clipboard

add onto country data type

Open sarahyaepark opened this issue 2 years ago • 1 comments

  • adding optional params onto CountryData to be compatible with country object in isValid
  • this is to fix typescript error Property 'format' does not exist on type 'object' when trying to access keys on country object in isValid callback Screen Shot 2022-07-19 at 5 52 39 PM

sarahyaepark avatar Jul 20 '22 00:07 sarahyaepark

Faced this issue too. @bl00mber, please check this small fix when you will have time :pray:

goveo avatar Sep 09 '22 21:09 goveo