Skip to content

Commit

Permalink
Merge pull request #23239 from storybookjs/fix-story-hoisting-snippets
Browse files Browse the repository at this point in the history
Docs: Fix story hoisting snippets
(cherry picked from commit 399321b)
  • Loading branch information
jonniebigodes authored and github-actions[bot] committed Jul 2, 2023
1 parent 82da607 commit 8846456
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/snippets/common/button-story-hoisted.ts-4-9.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Button.stories.ts|tsx

// Replace your-framework with the name of your framework
import type { Meta, Storybook } from '@storybook/your-framework';
import type { Meta, StoryObj } from '@storybook/your-framework';

import { Button as ButtonComponent } from './Button';

Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/common/button-story-hoisted.ts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Button.stories.ts|tsx

// Replace your-framework with the name of your framework
import type { Meta, Storybook } from '@storybook/your-framework';
import type { Meta, StoryObj } from '@storybook/your-framework';

import { Button as ButtonComponent } from './Button';

Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/web-components/button-story-hoisted.ts.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
```ts
// Button.stories.ts

import type { Meta, Storybook } from '@storybook/your-framework';
import type { Meta, StoryObj } from '@storybook/your-framework';

const meta: Meta = {
title: 'Design System/Atoms/Button',
Expand Down

0 comments on commit 8846456

Please sign in to comment.