country-region-selector icon indicating copy to clipboard operation
country-region-selector copied to clipboard

Best way to convert country codes back to full name?

Open ksnyder opened this issue 7 years ago • 0 comments

Thanks for this very useful tool. We're storing only country codes and region codes (when available) but for UI purposes want to show users the full names. I was hoping there might already exist a code -> fullName lookup object in the design. I noticed the source data lives in a separate repo, but it appears to be built into this repo rather than an npm dependency. Has anyone else solved this problem already (hopefully without having to duplicate data)?

ksnyder avatar Apr 10 '17 20:04 ksnyder