@Composable private fun ChannelItemPreview(channel: Channel,isMuted: Boolean = false,currentUser: User? = null,) {ChatTheme {ChannelItem(channelItem = ChannelItemState(channel = channel,isMuted = isMuted),currentUser = currentUser,onChannelClick = {},onChannelLongClick = {})}}
Shows [ChannelItem] preview for the provided parameters.