@Preview(showBackground = true, name = "ChannelList Preview (Content state)")@Composableprivate fun ChannelListForContentStatePreview() {ChannelListPreview(ChannelsState(isLoading = false,channelItems = listOf(ChannelItemState(channel = PreviewChannelData.channelWithImage),ChannelItemState(channel = PreviewChannelData.channelWithMessages),ChannelItemState(channel =PreviewChannelData.channelWithFewMembers),ChannelItemState(channel = PreviewChannelData.channelWithManyMembers),ChannelItemState(channel = PreviewChannelData.channelWithOnlineUser))))}
Preview of [ChannelItem] for a list of channels. Should show a list of channels.