GroupAvatar

fun GroupAvatar(users: List<User>, modifier: Modifier = Modifier, shape: Shape = ChatTheme.shapes.avatar, textStyle: TextStyle = ChatTheme.typography.captionBold, onClick: () -> Unit? = null)

Represents an avatar with a matrix of user images or initials.

Parameters

users

The users to show.

modifier

Modifier for styling.

shape

The shape of the avatar.

textStyle

The TextStyle that will be used for the initials.

onClick

The handler when the user clicks on the avatar.