mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
- Newline following filename comment - Fix URLs in comments - Ensure consistent usage of `ts` vs `tsx` language
19 lines
336 B
Plaintext
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>`,
|
|
};
|
|
```
|