Emoji List
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.
on Emoji Click
The callback for when an emoji is clicked.
on Emoji More Button Click
The callback for when the more button is clicked.
is Detail Dialog
Whether the list is displayed in a detail dialog.
modifier
The modifier to be applied to the list.
emoji Item
The composable function that provides the emoji item.
emoji More Button
The composable function that provides the more button.