-
Notifications
You must be signed in to change notification settings - Fork 0
/
PictureWithPicture.stories.js
61 lines (58 loc) · 1.97 KB
/
PictureWithPicture.stories.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// PictureWithPicture.stories.js
import { html } from 'lit-html'
import(
'../../web-components-toolbox/src/es/components/molecules/pictureWithPicture/PictureWithPicture'
).then((module) =>
self.customElements.define('m-picture-with-picture', module.default)
)
export default {
title: 'Molecules/PictureWithPicture',
component: 'm-picture-with-picture'
}
export const Default = () =>
html`
<h2>Single picture with picture</h2>
<m-picture-with-picture namespace="picture-with-picture-default-">
<a-picture
picture-load
alt="Bio Herbst Istock 871137282 Bearbeitet"
defaultSource="src/web-components-toolbox/src/es/components/molecules/pictureWithPicture/default-/img/2022_ALNATURA_BILD_Randen-Salat_mit_geroesteten_Kichererbsen.jpg"
>
</a-picture>
<div>
<a-picture
picture-load
alt="dude1"
defaultSource="src/web-components-toolbox/src/es/components/molecules/pictureWithPicture/default-/img/jcr content1.png"
>
</a-picture>
<a-picture
picture-load
alt="dude2"
defaultSource="src/web-components-toolbox/src/es/components/molecules/pictureWithPicture/default-/img/jcr content2.png"
>
</a-picture>
</div>
</m-picture-with-picture>
<br /><br /><br /><br /><br /><br /><br />
<m-picture-with-picture
namespace="picture-with-picture-default-"
place-right
place-bottom
>
<a-picture
picture-load
alt="Bio Herbst Istock 871137282 Bearbeitet"
defaultSource="src/web-components-toolbox/src/es/components/molecules/pictureWithPicture/default-/img/Virtualhub StageOne LED.jpg"
>
</a-picture>
<div>
<a-picture
picture-load
alt="dude"
defaultSource="src/web-components-toolbox/src/es/components/molecules/pictureWithPicture/default-/img/jcr content1.png"
>
</a-picture>
</div>
</m-picture-with-picture>
`