storybook/docs/snippets/common/component-story-mdx-argstable-block.mdx.mdx
2021-05-06 21:05:56 +01:00

11 lines
197 B
Plaintext

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