Using <Story id="...."> not providing a code preview? Is this possible or a limitation of Storybook. #15242
Unanswered
TonyHoanTrinh
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a select a component called Dropdown.js which I import into my Button.stories.mdx file.
You should be able to select from the Dropdown menu items and it will render a story.
It does render the stories properly however it doesn't allow for you to be able to see the code preview.
I'm not sure if this is a limitation of Storybook or if I'm implementing this incorrectly.
Any and all help is appreciated!
Dropdown.js
Button.stories.mdx
Screenshot: Notice the Code Preview being unavailable. It should be available though and I'm confused on why it is not.
Beta Was this translation helpful? Give feedback.
All reactions