mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-02 10:47:28 +00:00
31 lines
610 B
TypeScript
31 lines
610 B
TypeScript
|
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
||
|
/* eslint-disable import/no-default-export */
|
||
|
/* eslint-disable import/no-duplicates */
|
||
|
import { StoryObj } from '@storybook/vue3';
|
||
|
import MkButton from './MkButton.vue';
|
||
|
export const Default = {
|
||
|
render(args) {
|
||
|
return {
|
||
|
components: {
|
||
|
MkButton,
|
||
|
},
|
||
|
setup() {
|
||
|
return {
|
||
|
args,
|
||
|
};
|
||
|
},
|
||
|
computed: {
|
||
|
props() {
|
||
|
return {
|
||
|
...this.args,
|
||
|
};
|
||
|
},
|
||
|
},
|
||
|
template: '<MkButton v-bind="props">Text</MkButton>',
|
||
|
};
|
||
|
},
|
||
|
parameters: {
|
||
|
layout: 'centered',
|
||
|
},
|
||
|
} satisfies StoryObj<typeof MkButton>;
|