mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-14 02:20:53 +08:00
23 lines
474 B
TypeScript
23 lines
474 B
TypeScript
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
|
|
import AbCheckbox from './ab-checkbox.vue';
|
|
|
|
const meta: Meta<typeof AbCheckbox> = {
|
|
title: 'basic/ab-checkbox',
|
|
component: AbCheckbox,
|
|
tags: ['autodocs'],
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof AbCheckbox>;
|
|
|
|
export const Template: Story = {
|
|
render: (args) => ({
|
|
components: { AbCheckbox },
|
|
setup() {
|
|
return { args };
|
|
},
|
|
template: '<ab-checkbox v-bind="args" />',
|
|
}),
|
|
};
|