storybook/docs/snippets/common/component-story-mdx-argstable-block-for-component.with-component.mdx.mdx
2022-02-22 23:02:42 +00:00

11 lines
189 B
Plaintext

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