@Preview(showBackground = true, name = "MessageOptionItem Preview")@Composableprivate fun MessageOptionItemPreview() {ChatTheme {val option = MessageOptionItemState(title = R.string.stream_compose_reply,iconPainter = painterResource(R.drawable.stream_compose_ic_reply),action = Reply(PreviewMessageData.message1),titleColor = ChatTheme.colors.textHighEmphasis,iconColor = ChatTheme.colors.textLowEmphasis,)MessageOptionItem(modifier = Modifier.fillMaxWidth(),option = option)}}
Preview of [MessageOptionItem].