storybook/docs/snippets/react/list-story-starter.ts.mdx
2023-05-25 21:04:33 +01:00

18 lines
321 B
Plaintext

```ts
// List.stories.ts|tsx
import type { Meta, StoryObj } from '@storybook/react';
import { List } from './List';
const meta: Meta<typeof List> = {
component: List,
};
export default meta;
type Story = StoryObj<typeof List>;
//👇 Always an empty list, not super interesting
export const Empty: Story = {};
```