storybook/docs/snippets/common/component-story-mdx-reference-storyid.mdx.mdx

7 lines
132 B
Plaintext

```md
<!-- MyComponent.stories.mdx -->
import { Story } from '@storybook/addon-docs';
<Story id="some-component--some-name" />
```