storybook/docs/snippets/svelte/page-story.js.mdx
2021-05-06 17:36:21 +01:00

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,
};
```