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/src/components/Navigation/Navigation.stories.js

33 lines
622 B
JavaScript
Raw Normal View History

2021-03-23 12:07:19 +00:00
import React from "react";
import Navigation from "./Navigation";
export default {
title: "Layout/Navigation",
component: Navigation,
argTypes: {
mode: {
table: {
disable: true,
},
},
},
};
const Template = (args) => <Navigation {...args} />;
export const OnDarkBackground = Template.bind({});
OnDarkBackground.parameters = {
backgrounds: { default: "dark" },
};
OnDarkBackground.args = {
mode: "dark",
};
export const OnLightBackground = Template.bind({});
OnLightBackground.parameters = {
backgrounds: { default: "light" },
};
OnLightBackground.args = {
mode: "light",
};