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',