Sharkey/packages/frontend/src/components/page/page.radio-button.stories.ts

22 lines
560 B
TypeScript
Raw Normal View History

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