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>;
|