Skip to content

Passed AdaptiveCardsHostConfig as a prop to CommonCard#2108

Merged
corinagum merged 4 commits intomicrosoft:masterfrom
tdurnford:2106
Jun 23, 2019
Merged

Passed AdaptiveCardsHostConfig as a prop to CommonCard#2108
corinagum merged 4 commits intomicrosoft:masterfrom
tdurnford:2106

Conversation

@tdurnford
Copy link
Copy Markdown
Contributor

Fixes #2106

Changelog Entry

Fix #2106. Fixed AdaptiveCardHostConfig warning associated with the CommonCard component, by @tdurnford in PR #2108

Specific Changes

I added the AdaptiveCardHostConfig as a prop to CommonCard in the AnimationCards, AudioCards, SignInCards, and VideoCards attachment components. I also set the default value of the image in the AudioCardAttachment component to an empty object since that was throwing an error as well.


  • Testing Added

Comment thread packages/bundle/src/adaptiveCards/Attachment/AnimationCardAttachment.js Outdated
Comment thread packages/bundle/src/adaptiveCards/Attachment/AudioCardAttachment.js Outdated
Comment thread packages/bundle/src/adaptiveCards/Attachment/AudioCardAttachment.js Outdated
Comment thread packages/bundle/src/adaptiveCards/Attachment/SignInCardAttachment.js Outdated
@corinagum corinagum merged commit f1f5185 into microsoft:master Jun 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AdaptiveCardHostConfig is not being passed to CommonCard component as a prop

2 participants