Closed joshlbaker closed 5 years ago
ACK. I'll take look into this as soon as I'm able. Thanks for reporting this.
Amazing, thank you!
@joshlbaker haven't forgotten about this, will have something in during the holiday break most likely
@danalloway the CDN you were using to import the flag svgs has been updated with these flags so all you should need to do is update that to the latest 3.2.1
https://github.com/danalloway/react-country-flag/blob/master/src/index.js#L14 https://github.com/lipis/flag-icon-css
using latest CDN v3.2.1 as of our release 1.0.2
I am using the latest version (1.0.2) and I am still getting 404 on 3 flags:
GET https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.2.1/flags/4x3/kv.svg 404 GET https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.2.1/flags/4x3/an.svg 404 GET https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.2.1/flags/4x3/ic.svg 404
@LCCalado yea that is correct, can't do much about that
also, the ISO country code for Kosovo is XK
not KV give that a try https://github.com/lipis/flag-icon-css/blob/master/flags/4x3/xk.svg
Thanks. What about "Netherland Antilles" and "Canary Islands"?
I don't maintain the Flag library so I'm not sure why they are not included, there are no emoticons for them either. I would recommend a custom solution for those edge case flags.
I don't maintain the Flag library so I'm not sure why they are not included, there are no emoticons for them either. I would recommend a custom solution for those edge case flags.
@danalloway Can you guide me on how to put custom flags? Thank you :)
Netherland Antilles
is justThe Netherlands
so I can always just map one to the other, just wanted to bring it to your attention.v1.0.1