-
public final class ReactionsMenuKt
-
-
Method Summary
Modifier and Type Method Description final static UnitReactionsMenu(Message message, User currentUser, Set<String> ownCapabilities, Function1<MessageAction, Unit> onMessageAction, Function0<Unit> onShowMoreReactionsSelected, Modifier modifier, Function0<Unit> onDismiss)Represents the list of user reactions as a draggable bottom sheet. -
-
Method Detail
-
ReactionsMenu
@Composable() final static Unit ReactionsMenu(Message message, User currentUser, Set<String> ownCapabilities, Function1<MessageAction, Unit> onMessageAction, Function0<Unit> onShowMoreReactionsSelected, Modifier modifier, Function0<Unit> onDismiss)
Represents the list of user reactions as a draggable bottom sheet.
- 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.onDismiss- Handler called when the menu is dismissed.
-
-
-
-