Skip to content

Commit 3ff0acc

Browse files
author
jannik.lange
committed
✨ added muclink story #182
1 parent c747361 commit 3ff0acc

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
import { fn } from "@storybook/test";
2+
3+
import MucLink from "./MucLink.vue";
4+
5+
export default {
6+
component: MucLink,
7+
title: "MucLink",
8+
tags: ["autodocs"],
9+
// 👇 Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked
10+
args: { onClick: fn() },
11+
parameters: {
12+
docs: {
13+
description: {
14+
component: `The \`muc-link\` component is a wrapper commponent for a standard html-a tag.
15+
16+
[🔗 Patternlab-Docs](https://patternlab.muenchen.space/?p=viewall-elements-links)
17+
`,
18+
},
19+
},
20+
},
21+
};
22+
23+
export const Weather = {
24+
args: {
25+
label: "Generic link label",
26+
},
27+
};
28+
29+
export const LinkWithIcon = {
30+
args: {
31+
icon: "youtube",
32+
label: "youtube",
33+
noUnderline: true,
34+
},
35+
};

0 commit comments

Comments
 (0)