@Composable public fun ModeratedMessageOptionItem( option: ModeratedMessageOption, modifier: Modifier = Modifier, ) { Divider(color = ChatTheme.colors.borders) Box( modifier = modifier, contentAlignment = Alignment.Center ) { Text( text = stringResource(id = option.text), style = ChatTheme.typography.body, color = ChatTheme.colors.primaryAccent ) } }
Composable that represents a single option inside the [ModeratedMessageDialog].By default shows only text of the action a user can perform.