mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
21 lines
315 B
Plaintext
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,
|
|
},
|
|
};
|
|
```
|