@Preview(showBackground = true, name = "ReactionOptions Preview") @Composable private fun ReactionOptionsPreview() { ChatTheme { val reactionType = ChatTheme.reactionIconFactory.createReactionIcons().keys.firstOrNull() if (reactionType != null) { ReactionOptions(ownReactions =listOf(Reaction(reactionType)),onReactionOptionSelected = {},onShowMoreReactionsSelected = {}}}
Preview of [ReactionOptions] with a single item selected.