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

Link copied to clipboard
abstract val searchedFieldLabel: LbcTextSpec?

The label of search field.

Link copied to clipboard
abstract val searchFieldPlaceHolder: LbcTextSpec?

The placeholder to display in the search field.

Link copied to clipboard
abstract val searchFieldStyleData: UiFieldStyleData

Data to customize the style of the search field.

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.