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