Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

argType.defaultValue is deprecated and will be removed in Storybook 7.0 #5

Open
efoken opened this issue Oct 28, 2022 · 0 comments
Open

Comments

@efoken
Copy link
Contributor

efoken commented Oct 28, 2022

Just to let you know 😉 The args option has to be used instead.

Maybe something like this would work:

export default {
  argTypes: defineArgTypes(Accordion),
  args: defineDefaultArgs(Accordion),
}

FYI: I am already using Atomico with Storybook 7 alpha in one of my private test Design Systems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant