```js // List.stories.js import List from './List.vue'; import ListItem from './ListItem.vue'; //👇 Imports a specific story from ListItem stories import { Unchecked } from './ListItem.stories'; export default { /* 👇 The title prop is optional. * See https://storybook.js.org/docs/vue/configure/overview#configure-story-loading * to learn how to generate automatic titles */ title: 'List', component: List, }; const ListTemplate = (args) => ({ components: { List, ListItem }, setup() { return { args }; }, template: `
`, }); export const Empty = ListTemplate.bind({}); Empty.args = { items: [], }; export const OneItem = ListTemplate.bind({}); OneItem.args = { items: [ { ...Unchecked.args, }, ], }; ```