This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/packages/website/stories/Page.stories.js

22 lines
424 B
JavaScript
Raw Normal View History

2021-04-02 18:45:38 +00:00
import React from "react";
2021-03-23 12:07:19 +00:00
2021-04-02 18:45:38 +00:00
import { Page } from "./Page";
import * as HeaderStories from "./Header.stories";
2021-03-23 12:07:19 +00:00
export default {
2021-04-02 18:45:38 +00:00
title: "Example/Page",
2021-03-23 12:07:19 +00:00
component: Page,
};
const Template = (args) => <Page {...args} />;
export const LoggedIn = Template.bind({});
LoggedIn.args = {
...HeaderStories.LoggedIn.args,
};
export const LoggedOut = Template.bind({});
LoggedOut.args = {
...HeaderStories.LoggedOut.args,
};