mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-25 23:36:44 -06: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>;
|