Package 

Class ReactionsPickerKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit ReactionsPicker(Message message, Function1<MessageAction, Unit> onMessageAction, Modifier modifier, Shape shape, Color overlayColor, GridCells cells, Function0<Unit> onDismiss, Map<String, ReactionIcon> reactionTypes, Function1<ColumnScope, Unit> headerContent, Function1<ColumnScope, Unit> centerContent) Displays all of the available reactions the user can set on a message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • ReactionsPicker

        @Composable() final static Unit ReactionsPicker(Message message, Function1<MessageAction, Unit> onMessageAction, Modifier modifier, Shape shape, Color overlayColor, GridCells cells, Function0<Unit> onDismiss, Map<String, ReactionIcon> reactionTypes, Function1<ColumnScope, Unit> headerContent, Function1<ColumnScope, Unit> centerContent)

        Displays all of the available reactions the user can set on a message.

        Parameters:
        message - The selected message.
        onMessageAction - Handler that propagates click events on each item.
        modifier - Modifier for styling.
        shape - Changes the shape of ReactionsPicker.
        overlayColor - The color applied to the overlay.
        cells - Describes the way cells are formed inside ExtendedReactionsOptions.
        onDismiss - Handler called when the menu is dismissed.
        reactionTypes - The available reactions.
        headerContent - The content shown on the top of ReactionsPicker.
        centerContent - The content shown at the center of ReactionsPicker.