Skip to content

Commit 937803c

Browse files
committed
📝 updated muccard #63
1 parent d6b3418 commit 937803c

File tree

1 file changed

+18
-21
lines changed

1 file changed

+18
-21
lines changed

src/components/Card/MucCard.stories.ts

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,22 @@ export const Default = {
3131
},
3232
};
3333

34-
export const WithHeaderPrefix = () => ({
35-
components: { MucCard },
36-
template: `
37-
<MucCard
38-
v-bind="$props"
39-
title="Lorem Ipsum"
40-
tagline="Dolor"
41-
>
42-
<template #headerPrefix>
43-
<div
44-
style="padding-right: 16px; font-size: 32px;"
45-
>
34+
export const WithHeaderPrefix = {
35+
args: {
36+
title: "Lorim Ipsum",
37+
tagline: "Dolor",
38+
content:
39+
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et\n dolore magna aliquyam erat, sed diam voluptua.",
40+
},
41+
parameters: {
42+
slots: {
43+
headerPrefix: {
44+
description: "HeaderPrefix Slot used for displaying icon",
45+
template: `
46+
<div style="padding-right: 16px; font-size: 32px;">
4647
📆
47-
</div>
48-
</template>
49-
<template #content>
50-
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
51-
dolore magna aliquyam erat, sed diam voluptua.
52-
</template>
53-
</MucCard>
54-
`,
55-
});
48+
</div>`,
49+
},
50+
},
51+
},
52+
};

0 commit comments

Comments
 (0)