storybook/docs/snippets/angular/list-story-reuse-data.ts.mdx

15 lines
285 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,
],
};
```