File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -544,3 +544,38 @@ export const MultipleProductsWithoutStats: StoryFn = () => {
544544 </ >
545545 ) ;
546546} ;
547+
548+ export const withoutFields : StoryFn = ( ) => {
549+ return (
550+ < >
551+ < ProductElement
552+ product = { {
553+ ...product ,
554+ primaryHeading : '' ,
555+ secondaryHeading : '' ,
556+ brandName : '' ,
557+ productName : '' ,
558+ primaryCta : '' ,
559+ primaryPrice : '' ,
560+ primaryRetailer : '' ,
561+ primaryProductUrl : '' ,
562+ secondaryCta : '' ,
563+ secondaryPrice : '' ,
564+ secondaryRetailer : '' ,
565+ secondaryProductUrl : '' ,
566+ statistics : [ ] ,
567+ image : {
568+ ...product . image ,
569+ url : '' ,
570+ } ,
571+ } }
572+ format = { {
573+ design : ArticleDesign . Review ,
574+ display : ArticleDisplay . Showcase ,
575+ theme : Pillar . Lifestyle ,
576+ } }
577+ ArticleElementComponent = { ArticleElementComponent }
578+ />
579+ </ >
580+ ) ;
581+ } ;
You can’t perform that action at this time.
0 commit comments