-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLink.stories.js
51 lines (45 loc) · 1.17 KB
/
Link.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
// Link.stories.js
import { html } from 'lit-html'
import('../../web-components-toolbox/src/es/components/atoms/link/Link').then(
(module) => self.customElements.define('a-link', module.default)
)
export default {
title: 'Atoms/Link',
component: 'a-link'
}
export const Category = () =>
html`
<a-link
namespace="category-"
icon-path="src/web-components-toolbox/src/es/components/atoms/link/img/download-orange.svg"
>
<a href="#">Category</a>
</a-link>
`
export const Download = () =>
html`
<a-link
namespace="download-"
icon-path="src/web-components-toolbox/src/es/components/atoms/link/img/download-orange.svg"
>
<a href="#">Download</a>
</a-link>
`
export const TagFilter = () =>
html`
<a-link
namespace="tag-filter-"
icon-path="src/web-components-toolbox/src/es/components/atoms/link/img/download-orange.svg"
>
<a href="#">Tag Filter</a>
</a-link>
`
export const Underline = () =>
html`
<a-link
namespace="underline-"
icon-path="src/web-components-toolbox/src/es/components/atoms/link/img/download-orange.svg"
>
<a href="#">Underline</a>
</a-link>
`