Skip to content

Recursive stories? #29813

Closed Answered by justinmakaila
justinmakaila asked this question in Help
Discussion options

You must be logged in to vote

My problem was self-inflicted; I was accidentally exporting like this:

import type { Meta, StoryObj } from "@storybook/react";
import { AddressForm } from "./";

const meta = {
  title: "Components/Account Settings/components/Address Form",
  component: AddressForm,
  argTypes: {
    onSubmit: { action: "submit" },
  },
} satisfies Meta<typeof AddressForm>;

export default Meta;

Instead of:

export default meta;

And it was exacerbated because I copy pasted all of the blank stories and then modified imports.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by justinmakaila
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant