forked from mirrors/misskey
build(#10336): init
This commit is contained in:
13
packages/frontend/src/components/form/link.stories.ts
Normal file
13
packages/frontend/src/components/form/link.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import link from './link.vue';
|
||||
const meta = {
|
||||
title: 'components/form/link',
|
||||
component: link,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
link,
|
||||
},
|
||||
template: '<link />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/components/form/section.stories.ts
Normal file
13
packages/frontend/src/components/form/section.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import section from './section.vue';
|
||||
const meta = {
|
||||
title: 'components/form/section',
|
||||
component: section,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
section,
|
||||
},
|
||||
template: '<section />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/components/form/slot.stories.ts
Normal file
13
packages/frontend/src/components/form/slot.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import slot from './slot.vue';
|
||||
const meta = {
|
||||
title: 'components/form/slot',
|
||||
component: slot,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
slot,
|
||||
},
|
||||
template: '<slot />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/components/form/split.stories.ts
Normal file
13
packages/frontend/src/components/form/split.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import split from './split.vue';
|
||||
const meta = {
|
||||
title: 'components/form/split',
|
||||
component: split,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
split,
|
||||
},
|
||||
template: '<split />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/components/form/suspense.stories.ts
Normal file
13
packages/frontend/src/components/form/suspense.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import suspense from './suspense.vue';
|
||||
const meta = {
|
||||
title: 'components/form/suspense',
|
||||
component: suspense,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
suspense,
|
||||
},
|
||||
template: '<suspense />',
|
||||
};
|
||||
export default meta;
|
||||
Reference in New Issue
Block a user