storybook/docs/snippets/common/my-component-with-story-content.mdx.mdx

13 lines
197 B
Plaintext

```md
<!-- MyComponent.stories.mdx -->
import { Canvas } from '@storybook/addon-docs';
import { MyComponent } from './MyComponent';
<Canvas>
<h2>Some here</h2>
<MyComponent />
</Canvas>
```