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

8 lines
134 B
Plaintext

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