Package-level declarations

Legacy state holders: PhoneState for PhoneNumberInput.

Types

Link copied to clipboard
data class CountriesState(val countries: List<Country> = countryList)
Link copied to clipboard
class CountrySearchState(val countriesToShow: List<String> = emptyList(), val countriesToExclude: List<String> = emptyList(), val pinnedCountries: List<String> = emptyList())

State holder for country search and filtering inside the countries bottom sheet.

Link copied to clipboard
Link copied to clipboard
data class SearchState(val query: String = "", val countriesToShow: List<String> = emptyList())

Functions

Link copied to clipboard
fun rememberCountrySearchState(countriesToShow: List<String> = emptyList(), countriesToExclude: List<String> = emptyList(), pinnedCountries: List<String> = emptyList()): CountrySearchState