Metadata Avatar
fun MetadataAvatar(icon: @Composable (expectedSize: Dp) -> Unit, modifier: Modifier = Modifier, iconTint: Color = Color.Unspecified, backgroundColor: Color = Color.Unspecified, size: MetadataAvatarSize)
DHIS2 Metadata Avatar.
Parameters
icon
: Icon content.
icon Tint
: Color of the icon.
background Color
: Background color of the avatar. By default it's icon tine with 10% alpha.
size
: size of the component MetadataAvatarSize.
modifier
: optional modifier.