File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
dotcom-rendering/src/components/Masthead Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,37 @@ const CardWrapper = ({ children }: { children: React.ReactNode }) => {
62
62
63
63
export const Default = { } ;
64
64
65
+ export const WithQuotes : Story = {
66
+ name : 'With Quotes' ,
67
+ args : {
68
+ showQuotedHeadline : true ,
69
+ } ,
70
+ render : ( args ) => {
71
+ const Card = ( { pillar } : { pillar : Pillar } ) => (
72
+ < CardWrapper >
73
+ < HighlightsCard
74
+ { ...args }
75
+ format = { {
76
+ display : ArticleDisplay . Standard ,
77
+ design : ArticleDesign . Standard ,
78
+ theme : pillar ,
79
+ } }
80
+ />
81
+ </ CardWrapper >
82
+ ) ;
83
+
84
+ return (
85
+ < >
86
+ < Card pillar = { Pillar . News } />
87
+ < Card pillar = { Pillar . Opinion } />
88
+ < Card pillar = { Pillar . Sport } />
89
+ < Card pillar = { Pillar . Culture } />
90
+ < Card pillar = { Pillar . Lifestyle } />
91
+ </ >
92
+ ) ;
93
+ } ,
94
+ } ;
95
+
65
96
export const WithAvatar : Story = {
66
97
args : {
67
98
avatarUrl :
You can’t perform that action at this time.
0 commit comments