mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-02 16:58:43 +09:00
refactor(#10336): module semantics
This commit is contained in:
parent
be7b71a2f5
commit
3907cb51d6
@ -74,6 +74,9 @@ function toStories(component: string): string {
|
||||
/>,
|
||||
]
|
||||
: [],
|
||||
...hasImplStories
|
||||
? []
|
||||
: [
|
||||
<import-declaration
|
||||
source={<literal value={`./${base}`} />}
|
||||
specifiers={[
|
||||
@ -83,6 +86,7 @@ function toStories(component: string): string {
|
||||
/>,
|
||||
]}
|
||||
/>,
|
||||
],
|
||||
<variable-declaration
|
||||
kind="const"
|
||||
declarations={[
|
||||
|
@ -1,3 +1,4 @@
|
||||
import MkAnalogClock from './MkAnalogClock.vue';
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
|
@ -1,9 +1,10 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import MkAnalogClock from './MkAnalogClock.vue';
|
||||
const meta = {
|
||||
title: 'components/MkAnalogClock',
|
||||
component: MkAnalogClock,
|
||||
};
|
||||
export default meta;
|
||||
import MkAnalogClock from './MkAnalogClock.vue';
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
@ -18,4 +19,3 @@ export const Default = {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
export default meta;
|
||||
|
@ -1,3 +1,4 @@
|
||||
import MkButton from './MkButton.vue';
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import MkButton from './MkButton.vue';
|
||||
const meta = {
|
||||
title: 'components/MkButton',
|
||||
component: MkButton,
|
||||
};
|
||||
export default meta;
|
||||
import MkButton from './MkButton.vue';
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user