@Preview(showBackground = true, name = "ChannelOptionsItem Preview") @Composableprivate fun ChannelOptionsItemPreview() {ChatTheme {ChannelOptionsItem( title = stringResource(id = R.string.stream_compose_selected_channel_menu_view_info),titleColor = ChatTheme.colors.textHighEmphasis,leadingIcon = {Icon(modifier = Modifier.size(56.dp).padding(16.dp),painter = painterResource(id = R.drawable.stream_compose_ic_person),tint = ChatTheme.colors.textLowEmphasis,contentDescription = null)}, onClick = {} ) } }
Preview of [ChannelOptionsItem]. Should show a channel action item with an icon and a name.