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/Header.stories.js

19 lines
325 B
JavaScript
Raw Permalink 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 { Header } from "./Header";
2021-03-23 12:07:19 +00:00
export default {
2021-04-02 18:45:38 +00:00
title: "Example/Header",
2021-03-23 12:07:19 +00:00
component: Header,
};
const Template = (args) => <Header {...args} />;
export const LoggedIn = Template.bind({});
LoggedIn.args = {
user: {},
};
export const LoggedOut = Template.bind({});
LoggedOut.args = {};