storybook/docs/snippets/react/list-story-starter.ts.mdx
2020-08-07 17:05:17 +01:00

14 lines
308 B
Plaintext

```ts
// List.stories.ts
import { Story, Meta } from '@storybook/react/types-6-0';
import { List, ListProps } from './List';
export default {
component: List,
title: 'List',
} as Meta;
// Always an empty list, not super interesting
const Template : Story<ListProps> = (args) => <List {...args} />;
```