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
Describe the bug
I have a storybook where I want to showcase some of the logic that our components can do (i.e. onClick, etc). To do that I have created an external React component that I import into my stories.mdx file. It only shows the <ReactComponent /> as the story source.
Is where a way to get the actual code within the source? We only publish the doc mode when publishing out our Storybook and typically write our stories just like this.
Describe the bug
I have a storybook where I want to showcase some of the logic that our components can do (i.e. onClick, etc). To do that I have created an external React component that I import into my
stories.mdx
file. It only shows the<ReactComponent />
as the story source.Code: https://github.com/jgodi/storybook-react-test/blob/master/src/stories/Button.stories.mdx
Is where a way to get the actual code within the source? We only publish the doc mode when publishing out our Storybook and typically write our stories just like this.
To Reproduce
Steps to reproduce the behavior:
<ButtonStoryTest />
Expected behavior
The source code of the
<ButtonStoryTest />
to render.System
The text was updated successfully, but these errors were encountered: