MentionSuggestionList
fun MentionSuggestionList(users: List<User>, modifier: Modifier = Modifier, onMentionSelected: (User) -> Unit = {}, itemContent: @Composable (User) -> Unit = { user ->
DefaultMentionSuggestionItem(
user = user,
onMentionSelected = onMentionSelected,
)
})
Represents the mention suggestion list popup.
Parameters
users
The list of users that will be displayed in the popup.
modifier
Modifier for styling.
onMentionSelected
Handler when the user taps on an item.
itemContent
Customizable composable function that represents a single mention item.