AdaptiveCards
AdaptiveCards copied to clipboard
Don't call initializeIcons in your app if you enable FabricStyling
Assuming your app is already using Fabric icons and importing intializeIcons from here: office-ui-fabric-react/lib/Icons
If you do, it generates a warning about initializingIcons twice
I believe adaptivecards-fabric does this because of the TimePicker.
So if you do enable this styling, do it early, and let it do the initialization.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 314f7b3a-b4ca-faba-9ed7-aee62246bc66
- Version Independent ID: 6d329384-2218-7670-f0cd-464bf4736301
- Content: Fabric integration - Adaptive Cards
- Content Source: AdaptiveCards/sdk/rendering-cards/javascript/fabric.md
- Product: adaptive-cards
- GitHub Login: @matthidinger
- Microsoft Alias: mahiding