storybook/docs/snippets/common/component-story-mdx-argstable-block.mdx.mdx
2020-08-13 20:40:36 +01:00

10 lines
196 B
Plaintext

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