storybook/docs/snippets/web-components/list-story-starter.ts.mdx
Kyle Gach b97d94e005 Address feedback
- Newline following filename comment
- Fix URLs in comments
- Ensure consistent usage of `ts` vs `tsx` language
2023-01-12 14:17:39 -07:00

19 lines
336 B
Plaintext

```ts
// List.stories.ts
import type { Meta, StoryObj } from '@storybook/web-components';
const meta: Meta = {
title: 'List',
component: 'demo-list',
};
export default meta;
type Story = StoryObj;
// Always an empty list, not super interesting
export const Empty: Story = {
render: () => html`<demo-list></demo-list>`,
};
```