mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 09:31:47 +08:00
18 lines
326 B
Plaintext
18 lines
326 B
Plaintext
```js
|
|
// MyList.stories.js
|
|
|
|
import { html } from 'lit';
|
|
|
|
// 👇 Import the stories of MyListItem
|
|
import { Unchecked } from './MyListItem.stories';
|
|
|
|
export default {
|
|
title: 'MyList',
|
|
component: 'demo-my-list',
|
|
};
|
|
|
|
export const OneItem = {
|
|
render: () => html` <List> ${Unchecked({ ...Unchecked.args })} </List> `,
|
|
};
|
|
```
|