mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 06:11:05 +08:00
21 lines
438 B
JavaScript
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,
|
|
},
|
|
};
|