CountryConfig

constructor(onlyShowCountryCodes: Set<String> = emptySet(), locale: Locale = Locale.getDefault(), tinyMode: Boolean = false, disableDropdownWithSingleElement: Boolean = false, collapsedLabelMapper: (Country) -> String = { country -> country.name }, expandedLabelMapper: (Country) -> String = { country -> "${countryCodeToEmoji(country.code.value)} ${country.name}" })

Parameters

expandedLabelMapper

: function called to get the expanded label for the given country.