@Composable private fun MessageOptionsPreview( messageUser: User, currentUser: User, syncStatus: SyncStatus, ) { ChatTheme { val selectedMMessage = PreviewMessageData.message1.copy( user = messageUser, syncStatus = syncStatus ) val messageOptionsStateList = defaultMessageOptionsState( selectedMessage = selectedMMessage, currentUser = currentUser, isInThread = false, ownCapabilities = ChannelCapabilities.toSet() ) MessageOptions(options = messageOptionsStateList, onMessageOptionSelected = {}) } }
Shows [MessageOptions] preview for the provided parameters.