@Preview(showBackground = true, name = "ChannelOptions Preview") @Composable private fun ChannelOptionsPreview() { ChatTheme { ChannelOptions( options = buildDefaultChannelOptionsState( selectedChannel = PreviewChannelData.channelWithMessages, isMuted = false, ownCapabilities = ChannelCapabilities.toSet() ), onChannelOptionClick = {} ) } }
Preview of [ChannelOptions]. Should show a list of available actions for the channel.