Closed apriltaoyvr closed 2 years ago
Nevermind! Fixed it by looking at your source. But the gallery needs updating for EUROPEAN_UNION to lowercase and a few broken flags (e.g. Corsica)
Hi @apriltaoyvr, thanks for reporting this.
I'm open to receive PR's if you want to contribute.
Hello! Thank you so much for your module.
The country code for EU is not working. EU, eu, and EUROPEAN_UNION (as listed in the gallery) return the default Unknown flag.
The other country flags are working as intended.
Values:
<CountryFlag countryCode='EUROPEAN_UNION' height='30' onClick={setIsOpen} />
<CountryFlag countryCode='eu' height='30' onClick={setIsOpen} />
Screenshots: