How to use react-flags-select - 1 common examples

To help you get started, we’ve selected a few react-flags-select examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ONEARMY / community-platform / src / utils / helpers.ts View on Github external
export const getCountryName = (countryCode: string | undefined) => {
  if (countries.hasOwnProperty(countryCode)) {
    return countries[countryCode]
  } else {
    return countryCode
  }
}

react-flags-select

react-flags-select React component

MIT
Latest version published 2 years ago

Package Health Score

53 / 100
Full package analysis

Popular react-flags-select functions