SegmentedMessageReactions

fun SegmentedMessageReactions(reactions: List<MessageReactionItemState>, modifier: Modifier = Modifier, onClick: () -> Unit? = null)

Represents a segmented reaction layout where each reaction gets its own pill with an individual count.

Parameters

reactions

The list of reactions to display.

modifier

Modifier for styling.

onClick

Handler when the user taps on the reaction pills.