From 0822462664e7c019972503e208c84835cacc8d76 Mon Sep 17 00:00:00 2001 From: Jonas Hungershausen Date: Thu, 5 Dec 2024 16:48:01 +0100 Subject: [PATCH] chore: migrate legacy stories to new story format (#308) --- src/stories/Button.stories.tsx | 6 +++--- src/stories/ButtonSocial.stories.tsx | 6 +++--- src/stories/Card.stories.tsx | 6 +++--- src/stories/Checkbox.stories.tsx | 6 +++--- src/stories/Codebox.stories.tsx | 6 +++--- src/stories/Divider.stories.tsx | 6 +++--- src/stories/GradientCard.stories.tsx | 6 +++--- src/stories/InputField.stories.tsx | 6 +++--- src/stories/Message.stories.tsx | 6 +++--- src/stories/Nav.stories.tsx | 6 +++--- src/stories/Ory/Auth.stories.tsx | 6 +++--- src/stories/Ory/AuthError.stories.tsx | 6 +++--- src/stories/Ory/AuthSettings.stories.tsx | 6 +++--- src/stories/Ory/Consent.stories.tsx | 6 +++--- src/stories/Ory/Logout.stories.tsx | 6 +++--- 15 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src/stories/Button.stories.tsx b/src/stories/Button.stories.tsx index 35533a329..a55ad972c 100644 --- a/src/stories/Button.stories.tsx +++ b/src/stories/Button.stories.tsx @@ -1,16 +1,16 @@ // Copyright © 2024 Ory Corp // SPDX-License-Identifier: Apache-2.0 -import { ComponentMeta, Story } from "@storybook/react" +import { Meta, StoryFn } from "@storybook/react" import { Button, ButtonProps } from "../react-components" import { Container } from "./storyhelper" export default { title: "Component/Button", component: Button, -} as ComponentMeta +} as Meta -const Template: Story = (args: ButtonProps) => ( +const Template: StoryFn = (args: ButtonProps) => (