Package-level declarations
Functions
Link copied to clipboard
fun CommandSuggestionItem( command: Command, modifier: Modifier = Modifier, onCommandSelected: (Command) -> Unit = {}, leadingContent: @Composable RowScope.(Command) -> Unit = {
with(ChatTheme.componentFactory) {
MessageComposerCommandSuggestionItemLeadingContent(command = it)
}
}, centerContent: @Composable RowScope.(Command) -> Unit = {
with(ChatTheme.componentFactory) {
MessageComposerCommandSuggestionItemCenterContent(command = it, modifier = Modifier)
}
})
Represents the command suggestion item in the command suggestion list popup.
Link copied to clipboard
fun CommandSuggestionList( commands: List<Command>, modifier: Modifier = Modifier, onCommandSelected: (Command) -> Unit = {}, itemContent: @Composable (Command) -> Unit = { command ->
ChatTheme.componentFactory.MessageComposerCommandSuggestionItem(
command = command,
onCommandSelected = onCommandSelected,
)
})
Represents the command suggestion list popup.