MessageHeaderLabel

fun MessageHeaderLabel(painter: Painter, modifier: Modifier = Modifier, text: String? = null, contentPadding: PaddingValues = PaddingValues(vertical = 2.dp, horizontal = 4.dp))

Represents a meta information about the message that is shown above the message bubble.

Parameters

painter

The icon to be shown.

text

The text to be shown.

modifier

Modifier for styling.

contentPadding

The inner padding inside the component.