Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit d36e436

Browse files
committed
Fix stories
1 parent 5ff5091 commit d36e436

File tree

2 files changed

+4
-23
lines changed

2 files changed

+4
-23
lines changed

components/organisms/Hero/Hero.stories.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ Use this to display a large CTA, usually at the top of a page.
1313
subtitle="Check it out"
1414
title="New Designs"
1515
body="Our amazing new design is here! Get it while it's hot, it won't be hot for long... uh oh, already cooling."
16-
backgroundImage="https://images.unsplash.com/photo-1610991149688-c1321006bcc1?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1110&q=60"
16+
backgroundImage={{
17+
url:
18+
'https://images.unsplash.com/photo-1610991149688-c1321006bcc1?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1110&q=60'
19+
}}
1720
cta={{icon: 'arrowRight', text: 'Take a look'}}
1821
/>
1922
</Story>

components/organisms/LzbMediaText/LzbMediaText.stories.mdx

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,25 +41,3 @@ Media will display on the right on large screens by default. Use the `mediaLeft`
4141
/>
4242
</Story>
4343
</Canvas>
44-
45-
## Children
46-
47-
You can display children as an element using the `children` prop. If used, the `title`, `body`, and `cta` will not display.
48-
49-
<Canvas>
50-
<Story name="Children">
51-
<LzbMediaText
52-
children={
53-
<div>
54-
<p>Hi I'm a child element!</p>
55-
</div>
56-
}
57-
image={{
58-
url:
59-
'https://images.unsplash.com/photo-1610991149688-c1321006bcc1?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1110&q=60',
60-
alt: 'Some alt text'
61-
}}
62-
mediaLeft
63-
/>
64-
</Story>
65-
</Canvas>

0 commit comments

Comments
 (0)