storybook/docs/snippets/common/foo-bar-baz-story.js.mdx
2023-01-19 17:44:21 +00:00

17 lines
331 B
Plaintext

```js
// FooBar.stories.js|jsx
import { Foo } from './Foo';
export default {
/* 👇 The title prop is optional.
* See https://storybook.js.org/docs/7.0/react/configure/overview#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Foo/Bar',
component: Foo,
};
export const Baz = {};
```