Adaptive Cards usage with UI Library #3130
vhuseinova-msft
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
UI Library provides custom experience to easily build fast and responsive communication web applications. While today Adaptive Cards aren’t supported as part of UI library, the recommended approach is to use
onRenderMessage
callback in MessageThread UI component or ChatComposite props with a check for adaptive cards data.Steps to use Adaptive Cards SDK with UI Library:
onRenderMessage
callback.a. Handle adaptive cards data or
b. Use the
defaultOnRender
callback to get the default UI library experience.onRenderMessage
callback forMessageThread
UI component orChatComposite
props.Gist example for
MessageThread
: https://gist.github.com/vhuseinova-msft/b87c45e22f2303ce7ab308da3ab78f9fBeta Was this translation helpful? Give feedback.
All reactions