storybook/docs/snippets/common/component-story-mdx-argstable-block.mdx.mdx
2021-05-07 11:51:52 +08:00

11 lines
190 B
Plaintext

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