storybook/docs/snippets/common/component-story-mdx-argstable-block-for-component.mdx.mdx
2021-08-08 18:33:11 +01:00

12 lines
191 B
Plaintext

```md
<!--- MyComponent.stories.mdx -->
import { ArgsTable } from '@storybook/addon-docs';
import { MyComponent } from './MyComponent';
# My Component!
<ArgsTable of={MyComponent} />
```