MetadataAvatar

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.

iconTint

: Color of the icon.

backgroundColor

: Background color of the avatar. By default it's icon tine with 10% alpha.

size

: size of the component MetadataAvatarSize.

modifier

: optional modifier.