@@ -11,10 +11,10 @@ import React, { memo, type ReactNode } from 'react';
1111import AdaptiveCardsComposer from './adaptiveCards/AdaptiveCardsComposer' ;
1212import { type AdaptiveCardsStyleOptions } from './adaptiveCards/AdaptiveCardsStyleOptions' ;
1313import ShikiComposer from './codeHighlighter/ShikiComposer' ;
14+ import BundleStylesheet from './stylesheet/BundleStylesheet' ;
1415import { type AdaptiveCardsPackage } from './types/AdaptiveCardsPackage' ;
1516import { type StrictFullBundleStyleOptions } from './types/FullBundleStyleOptions' ;
1617import useComposerProps from './useComposerProps' ;
17- import BundleStylesheet from './stylesheet/BundleStylesheet' ;
1818
1919type AddFullBundleChildren = ( { extraStyleSet } : { extraStyleSet : any } ) => ReactNode ;
2020
@@ -25,14 +25,14 @@ type AddFullBundleProps = Readonly<{
2525 attachmentMiddleware ?: OneOrMany < AttachmentMiddleware > ;
2626 children : AddFullBundleChildren ;
2727 htmlContentTransformMiddleware ?: HTMLContentTransformMiddleware [ ] ;
28+ nonce : string | undefined ;
2829 renderMarkdown ?: (
2930 markdown : string ,
3031 newLineOptions : { markdownRespectCRLF : boolean } ,
3132 linkOptions : { externalLinkAlt : string }
3233 ) => string ;
3334 styleOptions ?: StyleOptions & AdaptiveCardsStyleOptions ;
3435 styleSet ?: any & { options : StrictFullBundleStyleOptions } ;
35- nonce : string | undefined ;
3636
3737 /** @deprecated Rename to "adaptiveCardsHostConfig" */
3838 adaptiveCardHostConfig ?: any ;
@@ -50,10 +50,10 @@ function AddFullBundle({
5050 attachmentMiddleware,
5151 children,
5252 htmlContentTransformMiddleware,
53+ nonce,
5354 renderMarkdown,
5455 styleOptions,
55- styleSet,
56- nonce
56+ styleSet
5757} : AddFullBundleProps ) {
5858 adaptiveCardHostConfig && adaptiveCardHostConfigDeprecation ( ) ;
5959
0 commit comments