storybook/docs/snippets/vue/list-story-unchecked.js.mdx
2020-12-23 17:00:49 +00:00

19 lines
417 B
Plaintext

```js
// List.stories.js
import List from './List.vue';
import ListItem from "./ListItem.vue";
// Importing the ListItem stories
import { Unchecked } from './ListItem.stories';
export const OneItem = (args, { argTypes }) => ({
props: Object.keys(argTypes),
components: { List, ListItem },
template: '<List v-bind="$props"><ListItem v-bind="$props"/></List>',
});
OneItem.args = {
...Unchecked.args,
};
```