storybook/docs/snippets/react/page-story.js.mdx
2021-08-28 01:52:57 +01:00

21 lines
315 B
Plaintext

```js
// Page.stories.js | Page.stories.jsx
import React from 'react';
import { Page } from './Page';
//👇 Imports all Header stories
import * as HeaderStories from './Header.stories';
export default {
component: Page,
};
export const LoggedIn = {
args: {
...HeaderStories.LoggedIn.args,
},
};
```