InitialsAvatar
fun InitialsAvatar(initials: String, modifier: Modifier = Modifier, shape: Shape = ChatTheme.shapes.avatar, textStyle: TextStyle = ChatTheme.typography.title3Bold, avatarOffset: DpOffset = DpOffset(0.dp, 0.dp), onClick: () -> Unit? = null)
Represents a special avatar case when we need to show the initials instead of an image. Usually happens when there are no images to show in the avatar.
Parameters
initials
The initials to show.
modifier
Modifier for styling.
shape
The shape of the avatar.
textStyle
The TextStyle that will be used for the initials.
avatarOffset
The initials offset to apply to the avatar.
onClick
The handler when the user clicks on the avatar.