Skip to content

Commit

Permalink
Merge branch 'develop' into chore/sass-use-relative-paths
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga authored Dec 20, 2024
2 parents 8b1a4c4 + fa42211 commit 4cd70f1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions storybook/src/components/Breakout/Breakout.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ type Story = StoryObj<typeof meta>
export const Default: Story = {
args: {
children: [
<Breakout.Cell colSpan="all" has="spotlight" rowSpan={{ medium: 2, narrow: 2, wide: 1 }} rowStart={2}>
<Breakout.Cell colSpan="all" has="spotlight" key={1} rowSpan={{ medium: 2, narrow: 2, wide: 1 }} rowStart={2}>
<Spotlight />
</Breakout.Cell>,
<Breakout.Cell
colSpan={{ medium: 8, narrow: 4, wide: 6 }}
colStart={1}
key={2}
rowStart={{ medium: 3, narrow: 3, wide: 2 }}
>
<Paragraph inverseColor>
Expand All @@ -42,6 +43,7 @@ export const Default: Story = {
colSpan={{ medium: 8, narrow: 4, wide: 6 }}
colStart={{ medium: 1, narrow: 1, wide: 7 }}
has="figure"
key={3}
rowSpan={2}
rowStart={1}
>
Expand All @@ -54,15 +56,16 @@ export const Default: Story = {
export const VerticalLayout: Story = {
args: {
children: [
<Breakout.Cell colSpan="all" has="figure" rowSpan={2} rowStart={1}>
<Image alt="" src="https://picsum.photos/1600/900" />
</Breakout.Cell>,
<Breakout.Cell colSpan="all" has="spotlight" rowSpan={2} rowStart={2}>
<Breakout.Cell colSpan="all" has="spotlight" key={1} rowSpan={2} rowStart={2}>
<Spotlight />
</Breakout.Cell>,
<Breakout.Cell colSpan="all" has="figure" key={2} rowSpan={2} rowStart={1}>
<Image alt="" src="https://picsum.photos/1600/900" />
</Breakout.Cell>,
<Breakout.Cell
colSpan={{ medium: 6, narrow: 4, wide: 8 }}
colStart={{ medium: 2, narrow: 1, wide: 3 }}
key={3}
rowStart={3}
>
<Paragraph className="ams-mb--sm" inverseColor>
Expand Down

0 comments on commit 4cd70f1

Please sign in to comment.