AccountChip

fun AccountChip(account: AccountUiModel, onClick: () -> Unit, modifier: Modifier = Modifier, defaultAvatar: Paintable? = Icons.Default.AccountCircle.asPaintable(), largeAvatar: Boolean = true, colors: ChipColors = ChipDefaults.primaryChipColors(), enabled: Boolean = true)

A Chip to display the AccountUiModel's email address and avatar.

The email text has optimised line break parameters, in order to display as much text as it can.


fun AccountChip(email: String, onClick: () -> Unit, modifier: Modifier = Modifier, avatar: Paintable? = null, defaultAvatar: Paintable? = Icons.Default.AccountCircle.asPaintable(), largeAvatar: Boolean = true, colors: ChipColors = ChipDefaults.primaryChipColors(), enabled: Boolean = true)

A Chip to display an email address and avatar.

The email text has optimised line break parameters, in order to display as much text as it can.