fbredius/storybook

View on GitHub
docs/snippets/common/my-component-story-mdx-with-decorators-params.mdx.mdx

Summary

Maintainability
Test Coverage
```md
<!-- MyComponent.stories.mdx -->

import { Meta, Story } from '@storybook/addon-docs';

import { MyComponent } from './MyComponent';
<Meta
  title="MyComponent"
  decorators={[ ... ]}
  parameters={{ ... }}
  component={MyComponent}
/>

<Story 
  name="story" 
  decorators={[ ... ]} 
  parameters={{ ... }} >
...
</Story>
```