storybook/docs/snippets/common/my-component-story-with-storyname.js.mdx
2020-08-14 21:46:15 +01:00

9 lines
173 B
Plaintext

```js
// MyComponent.stories.js
export const Simple = () => <MyComponent />;
Simple.storyName = 'So simple!';
Simple.decorators = [ ... ];
Simple.parameters = { ... };
```