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
If you are reporting a bug or requesting support, start here:
Bug or support request summary
Please provide issue details here - What did you expect to happen? What happened instead?
I'll wrote my stories in the new CSF format, some had a now, containing a single word and some multiple, which I then used camelCase for. For those with camelCase'd names the source code of the story could not be shown. Oddly, camel_Case_With_Underscores did work again. To summarize
export const foo = () => <Component />` // Works
export const Foo = () => <Component />` // Works
export const withFoo = () => <Component />` // Does not work
export const WithFoo = () => <Component />` // Does not work
export const with_Foo = () => <Component />` // Oddly works
Steps to reproduce
Just write csf stories with different upper und lower cases
Please specify which version of Storybook and optionally any affected addons that you're running
all versions on 5.2.0-beta.46
Affected platforms
Windows and Chrome
The text was updated successfully, but these errors were encountered:
shilman
changed the title
Addon-docs: Code will not be shown in docs if CSF story is camelCase'd
Addon-docs: Code missing in docs if CSF story is camelCase'd
Aug 31, 2019
If you are reporting a bug or requesting support, start here:
Bug or support request summary
Please provide issue details here - What did you expect to happen? What happened instead?
I'll wrote my stories in the new CSF format, some had a now, containing a single word and some multiple, which I then used camelCase for. For those with camelCase'd names the source code of the story could not be shown. Oddly, camel_Case_With_Underscores did work again. To summarize
Steps to reproduce
Just write csf stories with different upper und lower cases
Please specify which version of Storybook and optionally any affected addons that you're running
all versions on 5.2.0-beta.46
Affected platforms
Windows and Chrome
The text was updated successfully, but these errors were encountered: