src/components/PhoneNumber/components/Input.js
function get_country_option_icon(countryCode, { flags, flagsPath, flagComponent })
{
	if (flags === false)
	{
		return undefined
	}

	if (flags && flags[countryCode])
	{
		return flags[countryCode]
	}

	return React.createElement(flagComponent, { countryCode, flagsPath })
}
function get_country_option_icon(countryCode, { flags, flagsPath, flagComponent })
{
	if (flags === false)
	{
		return undefined
	}

	if (flags && flags[countryCode])
	{
		return flags[countryCode]
	}

	return React.createElement(flagComponent, { countryCode, flagsPath })
}
function get_country_option_icon ( countryCode , { flags , flagsPath , flagComponent } ) { if ( flags === false ) { return undefined } if ( flags && flags [ countryCode ] ) { return flags [ countryCode ] } return React . createElement ( flagComponent , { countryCode , flagsPath } ) }
Gets country flag element by country code
Gets country flag element by country code