Skip to content

Interface: AdaptiveCardViewProps

Props for AdaptiveCardView.

card: object

The compiled Adaptive Card document to render.

$schema: string

optional actions?: Record<string, unknown>[]

body: Record<string, unknown>[]

type: "AdaptiveCard"

version: string


optional className?: string

Extra classes merged onto the mount container.


optional onOpenUrl?: (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).

string

void