storybook/docs/snippets/common/other-foo-bar-story.js.mdx
2021-09-06 22:03:15 +01:00

16 lines
274 B
Plaintext

```js
// FooBar.stories.js | FooBar.stories.jsx | FooBar.stories.ts | FooBar.stories.tsx
import { Foo } from './Foo';
export default {
component: Foo,
title: 'OtherFoo/Bar',
id: 'Foo/Bar', // Or 'foo-bar' if you prefer
};
export const Baz = {
name: 'Moo',
};
```