react-phone-input-2
react-phone-input-2 copied to clipboard
add onto country data type
- adding optional params onto
CountryData
to be compatible withcountry
object inisValid
- this is to fix typescript error
Property 'format' does not exist on type 'object'
when trying to access keys oncountry
object inisValid
callback
Faced this issue too. @bl00mber, please check this small fix when you will have time :pray: