CommandSuggestionList
fun CommandSuggestionList(commands: List<Command>, modifier: Modifier = Modifier, onCommandSelected: (Command) -> Unit = {}, itemContent: @Composable (Command) -> Unit = { command ->
DefaultCommandSuggestionItem(
command = command,
onCommandSelected = onCommandSelected,
)
})
Represents the command suggestion list popup.
Parameters
commands
The list of commands to be displayed in the popup.
modifier
Modifier for styling.
onCommandSelected
Handler when the user taps on an item.
itemContent
Customizable composable function that represents a single command item.