Skip to content

Commit 48a1bc8

Browse files
committed
Clean up and ignore example stories
1 parent df04cb7 commit 48a1bc8

File tree

1 file changed

+5
-27
lines changed

1 file changed

+5
-27
lines changed

code/addons/onboarding/example-stories/Button.stories.tsx

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,27 @@ import { fn } from 'storybook/test';
44

55
import { Button } from './Button';
66

7-
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
87
const meta = {
98
title: 'Example/Button',
109
component: Button,
1110
parameters: {
12-
// Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
1311
layout: 'centered',
12+
parameters: {
13+
chromatic: {
14+
disableSnapshot: true,
15+
},
16+
},
1417
},
15-
// This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
1618
tags: ['autodocs'],
17-
// More on argTypes: https://storybook.js.org/docs/api/argtypes
1819
argTypes: {
1920
backgroundColor: { control: 'color' },
2021
},
21-
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#story-args
2222
args: { onClick: fn() },
2323
} satisfies Meta<typeof Button>;
2424

2525
export default meta;
2626
type Story = StoryObj<typeof meta>;
2727

28-
// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
2928
export const Primary: Story = {
3029
args: {
3130
primary: true,
@@ -52,24 +51,3 @@ export const Small: Story = {
5251
label: 'Button',
5352
},
5453
};
55-
56-
export const Ad: Story = {
57-
args: {
58-
primary: false,
59-
label: 'Button',
60-
},
61-
};
62-
63-
export const Df: Story = {
64-
args: {
65-
primary: false,
66-
label: 'Button',
67-
},
68-
};
69-
70-
export const Gdf: Story = {
71-
args: {
72-
primary: false,
73-
label: 'Button',
74-
},
75-
};

0 commit comments

Comments
 (0)