blob: cafe4719001d6e0f0ffb553a5bd286495768c37a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import { Meta, StoryObj } from '@storybook/vue3';
import MkSparkle from './MkSparkle.vue';
const meta = {
title: 'components/MkSparkle',
component: MkSparkle,
} satisfies Meta<typeof MkSparkle>;
export const Default = {
render(args, { argTypes }) {
return {
components: {
MkSparkle,
},
props: Object.keys(argTypes),
template: '<MkSparkle v-bind="$props" />',
};
},
parameters: {
layout: 'centered',
},
} satisfies StoryObj<typeof MkSparkle>;
export default meta;
|