mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-06-04 03:56:56 +00:00
16 lines
366 B
TypeScript
16 lines
366 B
TypeScript
import { StoryObj } from '@storybook/vue3';
|
|
import MkButton from './MkButton.vue';
|
|
export const Default = {
|
|
render(args, { argTypes }) {
|
|
return {
|
|
components: {
|
|
MkButton,
|
|
},
|
|
props: Object.keys(argTypes),
|
|
template: '<MkButton v-bind="$props">Text</MkButton>',
|
|
};
|
|
},
|
|
parameters: {
|
|
layout: 'centered',
|
|
},
|
|
} satisfies StoryObj<typeof MkButton>;
|