Skip to content

Commit 0e48fb3

Browse files
committed
📝 updated muccard-container #63
1 parent 937803c commit 0e48fb3

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

src/components/Card/MucCardContainer.stories.ts

+17-14
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,25 @@ export default {
2222
},
2323
};
2424

25-
export const Template = () => ({
26-
components: { MucCardContainer, MucCard },
27-
template: `
28-
<MucCardContainer>
29-
<MucCard
25+
export const Template = {
26+
parameters: {
27+
slots: {
28+
default: {
29+
components: { MucCard },
30+
template: `
31+
<MucCard
3032
v-bind="$props"
3133
title="Lorem Ipsum"
3234
tagline="Dolor"
3335
v-for="index in 5"
3436
:key="index"
35-
>
36-
<template #content>
37-
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
38-
dolore magna aliquyam erat, sed diam voluptua.
39-
</template>
40-
</MucCard>
41-
</MucCardContainer>
42-
`,
43-
});
37+
>
38+
<template #content>
39+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
40+
dolore magna aliquyam erat, sed diam voluptua.
41+
</template>
42+
</MucCard>`,
43+
},
44+
},
45+
},
46+
};

0 commit comments

Comments
 (0)