Ingen beskrivning

Page.stories.js 424B

12345678910111213141516171819202122
  1. import React from 'react';
  2. import { Page } from './Page';
  3. import * as HeaderStories from './Header.stories';
  4. export default {
  5. title: 'Example/Page',
  6. component: Page,
  7. };
  8. const Template = (args) => <Page {...args} />;
  9. export const LoggedIn = Template.bind({});
  10. LoggedIn.args = {
  11. ...HeaderStories.LoggedIn.args,
  12. };
  13. export const LoggedOut = Template.bind({});
  14. LoggedOut.args = {
  15. ...HeaderStories.LoggedOut.args,
  16. };