EmojiList

fun EmojiList(message: UikitBaseMessage, onEmojiClick: (emoji: UiKitEmoji, isAdded: Boolean) -> Unit, onEmojiMoreButtonClick: () -> Unit, isDetailDialog: Boolean, modifier: Modifier = Modifier, emojiItem: @Composable (emoji: UiKitEmoji, reaction: UiKitReaction?) -> Unit = { emoji, reaction -> EmojiItem( emoji = emoji, reaction = reaction, onEmojiClick = onEmojiClick ) }, emojiMoreButton: @Composable (moreDrawable: Int) -> Unit = { EmojiMoreButton( moreDrawable = it, onEmojiMoreButtonClick = onEmojiMoreButtonClick ) })

A list of emoji reactions for a message.

Since

1.2.0

Parameters

message

The message to which the reactions belong.

onEmojiClick

The callback for when an emoji is clicked.

onEmojiMoreButtonClick

The callback for when the more button is clicked.

isDetailDialog

Whether the list is displayed in a detail dialog.

modifier

The modifier to be applied to the list.

emojiItem

The composable function that provides the emoji item.

emojiMoreButton

The composable function that provides the more button.