In a custom MDX documentation page, how can i link an arg table to a story #16494
Unanswered
gurdilou
asked this question in
Documentation
Replies: 2 comments
-
I had the same issue, and I clumsily stumbled upon an answer while looking through issues. in my component.stories.tsx:
then in component.mdx:
The trick was adding |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, Try this, have two arg tables linked to two different stories and having some customization on each arg table. In same way, you may use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am following this pattern : https://storybook.js.org/docs/react/writing-docs/docs-page#with-mdx-documentation.
I have a .stories.tsx file that defines a MDX documentation page:
In MDX file I would like to attach arg table a specific story :
I tried following setups, but none work:
Any idea to achieve this ?
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions