AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

Don't call initializeIcons in your app if you enable FabricStyling

Open WieserSoftware opened this issue 4 years ago • 0 comments

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.

WieserSoftware avatar Jun 22 '20 16:06 WieserSoftware