summaryrefslogtreecommitdiff
path: root/packages/frontend/src/widgets/WidgetUnixClock.stories.ts
blob: 3c388f3f42af15fbef89cd3a9abe7e029a7de1a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { Meta, Story } from '@storybook/vue3';
import WidgetUnixClock from './WidgetUnixClock.vue';
const meta = {
	title: 'widgets/WidgetUnixClock',
	component: WidgetUnixClock,
};
export const Default = {
	render(args, { argTypes }) {
		return {
			components: {
				WidgetUnixClock,
			},
			props: Object.keys(argTypes),
			template: '<WidgetUnixClock v-bind="$props" />',
		};
	},
	parameters: {
		layout: 'centered',
	},
};
export default meta;