From 88464568dbf540dfbd02fb0aa67755693ccc7950 Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Fri, 30 Jun 2023 14:56:39 +0100 Subject: [PATCH] Merge pull request #23239 from storybookjs/fix-story-hoisting-snippets Docs: Fix story hoisting snippets (cherry picked from commit 399321bc922dd498ea13ee4285f8524e20fef567) --- docs/snippets/common/button-story-hoisted.ts-4-9.mdx | 2 +- docs/snippets/common/button-story-hoisted.ts.mdx | 2 +- docs/snippets/web-components/button-story-hoisted.ts.mdx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/snippets/common/button-story-hoisted.ts-4-9.mdx b/docs/snippets/common/button-story-hoisted.ts-4-9.mdx index 128b5e783b91..6071a4884449 100644 --- a/docs/snippets/common/button-story-hoisted.ts-4-9.mdx +++ b/docs/snippets/common/button-story-hoisted.ts-4-9.mdx @@ -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'; diff --git a/docs/snippets/common/button-story-hoisted.ts.mdx b/docs/snippets/common/button-story-hoisted.ts.mdx index 3a592eb4752e..e2de1afe4f6d 100644 --- a/docs/snippets/common/button-story-hoisted.ts.mdx +++ b/docs/snippets/common/button-story-hoisted.ts.mdx @@ -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'; diff --git a/docs/snippets/web-components/button-story-hoisted.ts.mdx b/docs/snippets/web-components/button-story-hoisted.ts.mdx index baf7d0ab2bfc..229356102a70 100644 --- a/docs/snippets/web-components/button-story-hoisted.ts.mdx +++ b/docs/snippets/web-components/button-story-hoisted.ts.mdx @@ -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',