@Composable public fun MentionSuggestionList(users: List<User>,modifier: Modifier = Modifier,onMentionSelected: (User) -> Unit = {},itemContent: @Composable (User) > Unit = { user ->DefaultMentionSuggestionItem(user = user,onMentionSelected = onMentionSelected,)},) {SuggestionList(modifier = modifier.fillMaxWidth().heightIn(max = ChatTheme.dimens.suggestionListMaxHeight)) {LazyColumn(horizontalAlignment = Alignment.CenterHorizontally) {items(items = users,key = User::id) { user ->itemContent(user)}}}}
Represents the mention suggestion list popup.