@Composable public fun MentionSuggestionItem(user: User,onMentionSelected: (User) -> Unit,modifier: Modifier = Modifier,leadingContent: @Composable RowScope.(User) -> Unit = {DefaultMentionSuggestionItemLeadingContent(user = it)},centerContent: @Composable RowScope.(User) -> Unit = {DefaultMentionSuggestionItemCenterContent(user = it)},trailingContent: @Composable RowScope.(User) -> Unit = {DefaultMentionSuggestionItemTrailingContent()},) {Row(modifier = modifier.fillMaxWidth().wrapContentHeight().clickable(onClick = { onMentionSelected(user) },indication = rememberRipple(),interactionSource = remember { MutableInteractionSource() }).padding(vertical = ChatTheme.dimens.mentionSuggestionItemVerticalPadding,horizontal = ChatTheme.dimens.mentionSuggestionItemHorizontalPadding),verticalAlignment = Alignment.CenterVertically,) {leadingContent(user)centerContent(user)trailingContent(user)}}
Represents the mention suggestion item in the mention suggestion list popup.