mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-16 00:16:31 +01: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>;
|