summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/user/activity.heatmap.stories.ts
blob: 3afec1a49244255688d6d42265d9e1954bcbefd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* eslint-disable @typescript-eslint/explicit-function-return-type */
/* eslint-disable import/no-default-export */
import { Meta, StoryObj } from '@storybook/vue3';
import activity_heatmap from './activity.heatmap.vue';
const meta = {
	title: 'pages/user/activity.heatmap',
	component: activity_heatmap,
} satisfies Meta<typeof activity_heatmap>;
export const Default = {
	render(args) {
		return {
			components: {
				activity_heatmap,
			},
			setup() {
				return {
					args,
				};
			},
			computed: {
				props() {
					return {
						...args,
					};
				},
			},
			template: '<activity_heatmap v-bind="props" />',
		};
	},
	parameters: {
		layout: 'fullscreen',
	},
} satisfies StoryObj<typeof activity_heatmap>;
export default meta;