maxGraph/packages/react/stories/Header.stories.js

19 lines
325 B
JavaScript
Raw Normal View History

import React from 'react';
import { Header } from './Header';
export default {
title: 'Example/Header',
component: Header,
};
const Template = (args) => <Header {...args} />;
export const LoggedIn = Template.bind({});
LoggedIn.args = {
user: {},
};
export const LoggedOut = Template.bind({});
LoggedOut.args = {};