storybook/docs/snippets/angular/list-story-reuse-data.ts.mdx
2020-08-14 21:46:15 +01:00

14 lines
297 B
Plaintext

```ts
// List.stories.ts
import * as ListItemStories from './ListItem.stories';
export const ManyItems = Template.bind({});
ManyItems.args = {
items:[
...ListItemStories.Selected.args,
...ListItemStories.Unselected.args,
...ListItemStoriesUnselected.args
]
};
```