Skip to content

Commit

Permalink
test(storybook): apply 'autodocs' tag globally
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Jul 6, 2024
1 parent 632ce5f commit 1970728
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ export default {
},
},
},
tags: ["autodocs"],
} satisfies Preview;
1 change: 0 additions & 1 deletion src/components/Alert.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Alert } from "./Alert";

const meta = {
component: Alert,
tags: ["autodocs"],
} satisfies Meta<typeof Alert>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion src/components/PrimaryButton.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { PrimaryButton, type PrimaryButtonProps } from "./PrimaryButton";
// TODO: Refactor without generics
const meta: Meta<PrimaryButtonProps> = {
component: PrimaryButton,
tags: ["autodocs"],
};

export default meta;
Expand Down

0 comments on commit 1970728

Please sign in to comment.