import MyHeader from './Header.vue'; export default { title: 'Example/Header', component: MyHeader, parameters: { // More on Story layout: https://storybook.js.org/docs/vue/configure/story-layout layout: 'fullscreen', }, }; const Template = (args, { argTypes }) => ({ props: Object.keys(argTypes), components: { MyHeader }, template: '', }); export const LoggedIn = Template.bind({}); LoggedIn.args = { user: { name: 'Jane Doe', }, }; export const LoggedOut = Template.bind({}); LoggedOut.args = {};