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