mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
14 lines
301 B
Plaintext
14 lines
301 B
Plaintext
```js
|
|
// List.stories.js
|
|
|
|
import React from 'react';
|
|
import { Selected, Unselected } from './ListItem.stories';
|
|
|
|
export const ManyItems = (args) => (
|
|
<List {...args}>
|
|
<Selected {...Selected.args} />
|
|
<Unselected {...Unselected.args} />
|
|
<Unselected {...Unselected.args} />
|
|
</List>
|
|
);
|
|
``` |