Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flags for the countries #116

Open
Azeirah opened this issue Apr 21, 2022 · 1 comment
Open

Add flags for the countries #116

Azeirah opened this issue Apr 21, 2022 · 1 comment

Comments

@Azeirah
Copy link

Azeirah commented Apr 21, 2022

It would be great if there was a simple flag image for every individual country, of course including alternatives if a country has multiple for any reason.

Of course this is a pretty big request, but I'd like to know what others think? Do flags belong in a project like this? I believe it would be very relevant and useful.

Edit: I saw that other projects use emojis as flag icons, that would be perfect for this repo too! Check out react-native-country-picker-modal for instance

@mahmudunnabikajal
Copy link

mahmudunnabikajal commented Sep 7, 2023

@benkeen
I'd love to contribute by adding flag images for each country! 🌍 Here's an example of what I'm thinking:

{
  "countryName": "Afghanistan",
  "countryShortCode": "AF",
+ "flag": "data:image/png;base64,iVBORw0KG.....",
  "regions": [
    {
      "name": "Badakhshan",
      "shortCode": "BDS"
    }
  ]
}

If you agree then I will start working and create a pull request for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants