storybook/docs/snippets/common/storybook-csf-3-auto-title-redundant.js.mdx
2022-07-07 22:47:17 +01:00

16 lines
288 B
Plaintext

```js
// components/MyComponent/MyComponent.stories.js|jsx|ts|tsx
import { MyComponent } from './MyComponent.js'
export default {
component: MyComponent,
title: 'components/MyComponent/MyComponent',
};
export const Default = {
args: {
something: 'Something else',
},
};
```