storybook/docs/snippets/common/my-component-story.js.mdx
2021-06-28 23:00:33 +01:00

11 lines
259 B
Plaintext

```js
// MyComponent.stories.js | MyComponent.stories.jsx | MyComponent.stories.ts | MyComponent.stories.tsx
import { MyComponent } from './MyComponent';
export default {
title: 'MyComponent',
component: MyComponent,
};
// your templates and stories
```