Avatar

fun Avatar(modifier: Modifier = Modifier, style: AvatarStyleData = AvatarStyleData.Text(""), onImageClick: () -> Unit? = null)

DHIS2 Avatar, used to display the avatar composable in card, must be one of the three styles given as parameters

Parameters

style

not nullable parameter that manages the avatar style

modifier

allows a modifier to be passed externally