File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { breakpoints } from '@guardian/source/foundations' ;
1
2
import type { Meta , StoryObj } from '@storybook/react' ;
2
3
import { defaultCard , trails } from '../../fixtures/manual/highlights-trails' ;
3
4
import { ScrollableHighlights } from './ScrollableHighlights.importable' ;
@@ -6,6 +7,16 @@ import { Section } from './Section';
6
7
const meta : Meta < typeof ScrollableHighlights > = {
7
8
title : 'Components/Masthead/ScrollableHighlights' ,
8
9
component : ScrollableHighlights ,
10
+ parameters : {
11
+ chromatic : {
12
+ viewports : [
13
+ breakpoints . mobile ,
14
+ breakpoints . mobileLandscape ,
15
+ breakpoints . tablet ,
16
+ breakpoints . wide ,
17
+ ] ,
18
+ } ,
19
+ } ,
9
20
render : ( { ...args } ) => (
10
21
< Section
11
22
shouldCenter = { true }
You can’t perform that action at this time.
0 commit comments