mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 05:01:20 +08:00
14 lines
345 B
Plaintext
14 lines
345 B
Plaintext
```ts
|
|
// List.stories.tsx
|
|
|
|
import React from 'react';
|
|
import * as ListItemStories from './ListItemStories';
|
|
|
|
export const ManyItems = (args) => (
|
|
<List {...args}>
|
|
<Selected {...ListItemStories.Selected.args} />
|
|
<Unselected {...ListItemStories.Unselected.args} />
|
|
<Unselected {...ListItemStories.Unselected.args} />
|
|
</List>
|
|
);
|
|
``` |