-
public final class SelectedReactionsMenuKt
-
-
Method Summary
Modifier and Type Method Description final static UnitSelectedReactionsMenu(Message message, User currentUser, Set<String> ownCapabilities, Function1<MessageAction, Unit> onMessageAction, Function0<Unit> onShowMoreReactionsSelected, Modifier modifier, Shape shape, Color overlayColor, Map<String, ReactionIcon> reactionTypes, @DrawableRes() Integer showMoreReactionsIcon, Function0<Unit> onDismiss, Function1<ColumnScope, Unit> headerContent, Function1<ColumnScope, Unit> centerContent)Represents the list of user reactions. -
-
Method Detail
-
SelectedReactionsMenu
@Composable() final static Unit SelectedReactionsMenu(Message message, User currentUser, Set<String> ownCapabilities, Function1<MessageAction, Unit> onMessageAction, Function0<Unit> onShowMoreReactionsSelected, Modifier modifier, Shape shape, Color overlayColor, Map<String, ReactionIcon> reactionTypes, @DrawableRes() Integer showMoreReactionsIcon, Function0<Unit> onDismiss, Function1<ColumnScope, Unit> headerContent, Function1<ColumnScope, Unit> centerContent)
Represents the list of user reactions.
- Parameters:
message- The selected message.currentUser- The currently logged in user.ownCapabilities- Set of capabilities the user is given for the current channel.onMessageAction- Handler that propagates click events on each item.onShowMoreReactionsSelected- Handler that propagates clicks on the show more reactions button.modifier- Modifier for styling.shape- Changes the shape of SelectedReactionsMenu.overlayColor- The color applied to the overlay.reactionTypes- The available reactions within the menu.showMoreReactionsIcon- Drawable resource used for the show more button.onDismiss- Handler called when the menu is dismissed.headerContent- The content shown at the top of the SelectedReactionsMenu dialog.centerContent- The content shown in the SelectedReactionsMenu dialog.
-
-
-
-