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
{{ message }}
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
Describe the bug
According to storybookjs/storybook#18464 (review), name should be used for csf3 stories. However, when I run composeStory from testing-react, the name changes to something like composedStory2. I'd really like to have the name remain unchanged when composing stories.
I looked into this a bit, and there's no real way around it, since name is a protected property in composedStory, which is a function in composeStory. But, I see that it also already converts name into storyName, so I can use that. I've pushed up a small PR #108 to add a test for this case. But, this issue can be closed out as-is.
Describe the bug
According to storybookjs/storybook#18464 (review),
name
should be used for csf3 stories. However, when I runcomposeStory
fromtesting-react
, thename
changes to something likecomposedStory2
. I'd really like to have thename
remain unchanged when composing stories.To Reproduce
https://github.com/IanVS/composed-story-name-reproduction
Open the
Primary Named
story, which uses theHelper.jsx
component to render a composed story as well as its name.Expected behavior
The
name
of the resulting story should be the csf3 name.Screenshots
The text was updated successfully, but these errors were encountered: