You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reusing story definitions according to the docs I get TypeScript type errors because the StoryObj helper type makes all arguments optional. Storybook should offer a workaround to use this pattern without any type errors.
Describe the bug
When reusing story definitions according to the docs I get TypeScript type errors because the StoryObj helper type makes all arguments optional. Storybook should offer a workaround to use this pattern without any type errors.
To Reproduce
https://stackblitz.com/edit/github-yr2rcr?file=src%2Fstories%2FButton.stories.tsx
Check the Primary story.
System
Additional context
No response
The text was updated successfully, but these errors were encountered: