@Composable private fun AvatarPreview( imageUrl: String, initials: String, ) { ChatTheme { Avatar( modifier = Modifier.size(36.dp), imageUrl = imageUrl, initials = initials ) } }
Shows [Avatar] preview for the provided parameters.