@Composable public fun SelectedReactionsMenu(message: Message,currentUser: User?,ownCapabilities: Set<String>,onMessageAction: (MessageAction) -> Unit,onShowMoreReactionsSelected: () -> Unit,modifier: Modifier = Modifier,shape: Shape = ChatTheme.shapes.bottomSheet,overlayColor: Color = ChatTheme.colors.overlay,reactionTypes: Map<String, ReactionIcon> = ChatTheme.reactionIconFactory.createReactionIcons(),@DrawableRes showMoreReactionsIcon: Int = R.drawable.stream_compose_ic_more,onDismiss: () -> Unit = {},headerContent: @Composable ColumnScope.() -> Unit = {val canLeaveReaction = ownCapabilities.contains(ChannelCapabilities.SEND_REACTION)if (canLeaveReaction) {DefaultSelectedReactionsHeaderContent(message = message,reactionTypes =reactionTypes,showMoreReactionsIcon = showMoreReactionsIcon,onMessageAction = onMessageAction,onShowMoreReactionsSelected =onShowMoreReactionsSelected)}},centerContent: @Composable ColumnScope.() -> Unit = {DefaultSelectedReactionsCenterContent(message = message,currentUser = currentUser)},) {SimpleMenu(modifier = modifier,shape = shape,overlayColor = overlayColor,onDismiss = onDismiss, headerContent = headerContent,centerContent = centerContent)}
Represents the list of user reactions.