Skip to content

Commit

Permalink
Remove button group examples as moved to layout docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmockett committed Jun 5, 2024
1 parent 5886171 commit afe4300
Showing 1 changed file with 0 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,33 +170,3 @@ CollapseUntilTablet.parameters = {
viewports: [breakpoints.mobile],
},
};

// *****************************************************************************

export const ButtonGroupMobile: StoryFn<typeof Inline> = () => (
<Inline space={2} collapseUntil="tablet">
<Button>Subscribe now</Button>
<Button priority="tertiary">Cancel</Button>
</Inline>
);
ButtonGroupMobile.parameters = {
viewport: { defaultViewport: 'mobileMedium' },
chromatic: {
viewports: [breakpoints.mobileMedium],
},
};

// *****************************************************************************

export const ButtonGroupTablet: StoryFn<typeof Inline> = () => (
<Inline space={2} collapseUntil="tablet">
<Button>Subscribe now</Button>
<Button priority="tertiary">Cancel</Button>
</Inline>
);
ButtonGroupTablet.parameters = {
viewport: { defaultViewport: 'tablet' },
chromatic: {
viewports: [breakpoints.tablet],
},
};

0 comments on commit afe4300

Please sign in to comment.