It would be great if you could add some kind of prop to specify the countryโs image URL from some kind of website letโs say Wikipedia or from somewhere else ?
I used a library which looked up the code for the country, and then put the code in this https://www.countryflags.io/{CODE_HERE}/flat/64.png, and example for USA would be https://www.countryflags.io/us/flat/64.png
Partecipa alla discussione - aggiungi un commento di seguito:
I used a library which looked up the code for the country, and then put the code in this
https://www.countryflags.io/{CODE_HERE}/flat/64.png, and example for USA would be https://www.countryflags.io/us/flat/64.png