Interface: AdaptiveCardViewProps
Props for AdaptiveCardView.
Properties
Section titled “Properties”card:
object
The compiled Adaptive Card document to render.
$schema
Section titled “$schema”$schema:
string
actions?
Section titled “actions?”
optionalactions?:Record<string,unknown>[]
body:
Record<string,unknown>[]
type:
"AdaptiveCard"
version
Section titled “version”version:
string
className?
Section titled “className?”
optionalclassName?:string
Extra classes merged onto the mount container.
onOpenUrl?
Section titled “onOpenUrl?”
optionalonOpenUrl?: (url) =>void
Called when an Action.OpenUrl button is tapped. Defaults to opening the
URL in a new tab. Pass a handler to intercept (e.g. to post back instead).
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void