misskey/packages/frontend/src/components/MkCheckbox.stories.ts

22 lines
424 B
TypeScript
Raw Normal View History

2023-03-19 22:22:14 +09:00
import { Meta, Story } from '@storybook/vue3';
import MkCheckbox from './MkCheckbox.vue';
const meta = {
title: 'components/MkCheckbox',
component: MkCheckbox,
};
export const Default = {
render(args, { argTypes }) {
return {
components: {
MkCheckbox,
},
props: Object.keys(argTypes),
template: '<MkCheckbox v-bind="$props" />',
};
2023-03-19 22:22:14 +09:00
},
parameters: {
layout: 'centered',
},
2023-03-19 22:22:14 +09:00
};
export default meta;