Closed deadcoder0904 closed 4 years ago
It tells you what the error is...
Unexpected default export without title:
You need a title. The template has a title: https://github.com/formium/tsdx/blob/5e5c3f804e68609083be978a080ab905dc7ec19d/templates/react-with-storybook/stories/Thing.stories.tsx#L5
Also if this were a bug, it wouldn't be a TSDX bug, it's purely Storybook.
@agilgur5 where does the title
come from? I don't have a prop with the name title
.
I saw storybook but the examples there were different, would love to know if there's any repo that uses tsdx & storybook so I can read the code :)
Oops, the title
isn't a prop I see, gotcha 👍
Again, this isn't a bug, and is strictly Storybook, not TSDX related. Issues are also not a forum for help with debugging your own code.
Current Behavior
Getting an error:
Expected behavior
Storybook should work as expected. I only changed a few lines of code from the original template. Even the tests that look exactly like Storybook work.
Here's my entire repro → https://github.com/deadcoder0904/react-typical
Relevant storybook bit (ReactTypical.stories.tsx):
Your environment