Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions code/addons/docs/template/stories/toc/basic.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ export default {
},
};

export const One = {
args: { label: 'One' },
};

export const Two = {
args: { label: 'Two' },
};

export const Three = {
args: { label: 'Two' },
};
export const One = { args: { label: 'One' } };
export const Two = { args: { label: 'Two' } };
export const Three = { args: { label: 'Three' } };
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { global as globalThis } from '@storybook/global';
import { One, Two, Three } from './basic.stories';

export default {
component: globalThis.Components.Button,
Expand All @@ -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' } };
5 changes: 3 additions & 2 deletions code/addons/docs/template/stories/toc/custom-title.stories.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { global as globalThis } from '@storybook/global';
import { One, Two, Three } from './basic.stories';

export default {
component: globalThis.Components.Button,
Expand All @@ -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' } };
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { global as globalThis } from '@storybook/global';
import { One, Two, Three } from './basic.stories';

export default {
component: globalThis.Components.Button,
Expand All @@ -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' } };