mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
19 lines
318 B
Plaintext
19 lines
318 B
Plaintext
```js
|
|
// Page.stories.js
|
|
|
|
import Page from './Page.svelte';
|
|
|
|
import * as HeaderStories from './Header.stories';
|
|
|
|
export default {
|
|
title: 'Page',
|
|
component: Page,
|
|
};
|
|
|
|
const Template = (args) => ({ props: args });
|
|
|
|
export const LoggedIn = Template.bind({});
|
|
LoggedIn.args = {
|
|
...HeaderStories.LoggedIn.args,
|
|
};
|
|
``` |