Country Picker Bottom Sheet Renderer
interface CountryPickerBottomSheetRenderer
Interface to provide a custom rendering of the country code picker bottom sheet. This allows to customize the bottom sheet, the search field, and the country row.
Properties
Functions
Link copied to clipboard
abstract fun BottomSheetHolder(dismiss: () -> Unit, searchField: @Composable () -> Unit, countriesList: @Composable (contentPadding: PaddingValues, lazyListState: LazyListState) -> Unit)
Holder for the bottom sheet content.
Link copied to clipboard
abstract fun CountryRow(countrySearchItem: CountrySearchItem, searchedText: String, onClick: () -> Unit)
Render a row for a country in the country picker bottom sheet.