mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 02:21:48 +08:00
Build: Fix TOC stories for cra/default-js
This commit is contained in:
parent
add71c33c6
commit
8d873b6e64
@ -9,14 +9,6 @@ export default {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export const One = {
|
export const One = { args: { label: 'One' } };
|
||||||
args: { label: 'One' },
|
export const Two = { args: { label: 'Two' } };
|
||||||
};
|
export const Three = { args: { label: 'Three' } };
|
||||||
|
|
||||||
export const Two = {
|
|
||||||
args: { label: 'Two' },
|
|
||||||
};
|
|
||||||
|
|
||||||
export const Three = {
|
|
||||||
args: { label: 'Two' },
|
|
||||||
};
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import { global as globalThis } from '@storybook/global';
|
import { global as globalThis } from '@storybook/global';
|
||||||
import { One, Two, Three } from './basic.stories';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
component: globalThis.Components.Button,
|
component: globalThis.Components.Button,
|
||||||
@ -11,4 +10,6 @@ export default {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export { One, Two, Three };
|
export const One = { args: { label: 'One' } };
|
||||||
|
export const Two = { args: { label: 'Two' } };
|
||||||
|
export const Three = { args: { label: 'Three' } };
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import { global as globalThis } from '@storybook/global';
|
import { global as globalThis } from '@storybook/global';
|
||||||
import { One, Two, Three } from './basic.stories';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
component: globalThis.Components.Button,
|
component: globalThis.Components.Button,
|
||||||
@ -11,4 +10,6 @@ export default {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export { One, Two, Three };
|
export const One = { args: { label: 'One' } };
|
||||||
|
export const Two = { args: { label: 'Two' } };
|
||||||
|
export const Three = { args: { label: 'Three' } };
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import { global as globalThis } from '@storybook/global';
|
import { global as globalThis } from '@storybook/global';
|
||||||
import { One, Two, Three } from './basic.stories';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
component: globalThis.Components.Button,
|
component: globalThis.Components.Button,
|
||||||
@ -11,4 +10,6 @@ export default {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export { One, Two, Three };
|
export const One = { args: { label: 'One' } };
|
||||||
|
export const Two = { args: { label: 'Two' } };
|
||||||
|
export const Three = { args: { label: 'Three' } };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user