@Preview(showBackground = true, name = "Avatar Preview (With image URL)") @Composable private fun AvatarWithImageUrlPreview() { AvatarPreview( imageUrl = "https://sample.com/image.png", initials = "JC" ) }
Preview of [Avatar] for a valid image URL.Should show the provided image.