@Composable private fun UserAvatarPreview(user: User) { ChatTheme { UserAvatar( modifier = Modifier.size(36.dp), user = user, showOnlineIndicator = true, ) } }
Shows [UserAvatar] preview for the provided parameters.