storybook/docs/snippets/common/my-component-story-mandatory-export.js.mdx
2020-10-07 12:23:34 +08:00

12 lines
198 B
Plaintext

```js
// MyComponent.story.js
import MyComponent from './MyComponent';
export default {
title: 'Path/To/MyComponent',
component: MyComponent,
decorators: [ ... ],
parameters: { ... }
}
```