ArgsTable storybook 6 MDX

Viewed 143

I am trying to insert ArgsTable inside an MDX file but it does not show the table. The components are developed with Litelement. Have you also encountered the same problem?

<ArgsTable story="name-story" />
1 Answers

I think if you want to use the ArgdTable in MDX, you need to do this:

<Story name="Foo Bar"> ... </Story>

<ArgsTable story="Foo Bar" />

What is the name on your Story?

Related