2022-10-31 11:54:00 +01:00

21 lines
438 B
JavaScript

import { Page } from './Page';
import * as HeaderStories from './Header.stories';
export default {
title: 'Example/Page',
render: (args) => Page(args),
};
export const LoggedIn = {
args: {
// More on composing args: https://storybook.js.org/docs/web-components/writing-stories/args#args-composition
...HeaderStories.LoggedIn.args,
},
};
export const LoggedOut = {
args: {
...HeaderStories.LoggedOut.args,
},
};