@Composable public fun CommandSuggestionItem( command: Command,modifier: Modifier = Modifier,onCommandSelected: (Command) -> Unit = {},leadingContent: @Composable RowScope.(Command) -> Unit = {DefaultCommandSuggestionItemLeadingContent()},centerContent: @Composable RowScope.(Command) -> Unit = {DefaultCommandSuggestionItemCenterContent(command = it)},) {Row(modifier = modifier.fillMaxWidth().wrapContentHeight().clickable(onClick = { onCommandSelected(command) },indication = rememberRipple(),interactionSource = remember { MutableInteractionSource() }).padding(vertical = ChatTheme.dimens.commandSuggestionItemVerticalPadding,horizontal = ChatTheme.dimens.commandSuggestionItemHorizontalPadding),verticalAlignment =Alignment.CenterVertically,) {leadingContent(command)centerContent(command)}}
Represents the command suggestion item in the command suggestion list popup.