Skip to content

Commit b737096

Browse files
committed
Add stories for US Header
1 parent 737b1cb commit b737096

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

dotcom-rendering/src/components/Masthead/Masthead.stories.tsx

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const meta = {
3030
},
3131
},
3232
} satisfies Meta<typeof Masthead>;
33+
3334
export default meta;
3435

3536
export const WithoutSubnav = {};
@@ -49,3 +50,30 @@ export const WithPageSkin = {
4950
export const WithPageSkinAndContentSelfContstrain = {
5051
args: { hasPageSkinContentSelfConstrain: true },
5152
};
53+
54+
export const WithUsLogoAndWithoutSubnav = {
55+
args: { wholePictureLogoSwitch: true, editionId: 'US' },
56+
};
57+
58+
export const WithUsLogoAndSubnav = {
59+
args: { ...WithUsLogoAndWithoutSubnav.args, showSubNav: true },
60+
};
61+
62+
export const WithUsLogoAndSlimNav = {
63+
args: {
64+
...WithUsLogoAndWithoutSubnav.args,
65+
showSlimNav: true,
66+
displayRoundel: true,
67+
},
68+
};
69+
70+
export const WithUsLogoAndPageSkin = {
71+
args: { ...WithUsLogoAndWithoutSubnav.args, hasPageSkin: true },
72+
};
73+
74+
export const WithUsLogoAndPageSkinAndContentSelfContstrain = {
75+
args: {
76+
...WithUsLogoAndWithoutSubnav.args,
77+
hasPageSkinContentSelfConstrain: true,
78+
},
79+
};

0 commit comments

Comments
 (0)