File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default meta;
1212
1313type Story = StoryObj < typeof meta > ;
1414
15- export const MoreGalleries = {
15+ export const Default = {
1616 args : {
1717 discussionApiUrl : 'https://discussion.theguardian.com/discussion-api' ,
1818 guardianBaseUrl : 'https://www.theguardian.com' ,
@@ -24,3 +24,35 @@ export const MoreGalleries = {
2424 } ,
2525 } ,
2626} satisfies Story ;
27+
28+ export const WithFourCards = {
29+ ...Default ,
30+ args : {
31+ ...Default . args ,
32+ trails : galleryOnwardsTrails . slice ( 0 , 4 ) ,
33+ } ,
34+ } satisfies Story ;
35+
36+ export const WithThreeCards = {
37+ ...Default ,
38+ args : {
39+ ...Default . args ,
40+ trails : galleryOnwardsTrails . slice ( 0 , 3 ) ,
41+ } ,
42+ } satisfies Story ;
43+
44+ export const WithTwoCards = {
45+ ...Default ,
46+ args : {
47+ ...Default . args ,
48+ trails : galleryOnwardsTrails . slice ( 0 , 2 ) ,
49+ } ,
50+ } satisfies Story ;
51+
52+ export const WithOneCard = {
53+ ...Default ,
54+ args : {
55+ ...Default . args ,
56+ trails : galleryOnwardsTrails . slice ( 0 , 1 ) ,
57+ } ,
58+ } satisfies Story ;
You can’t perform that action at this time.
0 commit comments