-
public final class MessageReactionsKt
-
-
Method Summary
Modifier and Type Method Description final static UnitClusteredMessageReactions(List<MessageReactionItemState> reactions, Modifier modifier, Function0<Unit> onClick)Represents a reaction bubble with a list of reactions this message has. final static UnitSegmentedMessageReactions(List<MessageReactionItemState> reactions, Modifier modifier, Function0<Unit> onClick)Represents a segmented reaction layout where each reaction gets its own pill with an individual count. -
-
Method Detail
-
ClusteredMessageReactions
@Composable() final static Unit ClusteredMessageReactions(List<MessageReactionItemState> reactions, Modifier modifier, Function0<Unit> onClick)
Represents a reaction bubble with a list of reactions this message has.
- Parameters:
reactions- The list of reactions to display.modifier- Modifier for styling.onClick- Handler when the reaction list is clicked.
-
SegmentedMessageReactions
@Composable() final static Unit SegmentedMessageReactions(List<MessageReactionItemState> reactions, Modifier modifier, Function0<Unit> onClick)
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.
-
-
-
-