MessageOptions
fun MessageOptions(options: List<MessageOptionItemState>, onMessageOptionSelected: (MessageOptionItemState) -> Unit, modifier: Modifier = Modifier, itemContent: @Composable ColumnScope.(MessageOptionItemState) -> Unit = { option ->
DefaultMessageOptionItem(
option = option,
onMessageOptionSelected = onMessageOptionSelected,
)
})
Displays all available MessageOptionItems.
Parameters
options
List of available options.
onMessageOptionSelected
Handler that propagates click events on each item.
modifier
Modifier for styling.
itemContent
Composable that allows the user to customize the individual items shown in MessageOptions. By default shows individual message items.