storybook/docs/snippets/common/component-story-mdx-reference-storyid.mdx.mdx
2020-10-07 12:23:34 +08:00

7 lines
140 B
Plaintext

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