import {NavBar} from "ui";
import {ArgsTable, Canvas, Meta, Story} from "@storybook/addon-docs";
<Meta title="Components/Sections/NavBar/old" component={NavBar}/>
export const Template = (args) => <NavBar {...args} />;
# NavBar
Description of a NavBar
## Props
<ArgsTable story="Default"/>
## Examples
<Canvas>
<Story
name="Default"
args={{
noSession: true,
links: [
{
icon: "home",
text: "Example",
href: "https://www.spot-ship.com",
removeHover: true,
},
],
protectedLinks: [
{
icon: "home",
text: "Example",
href: "https://www.spot-ship.com",
removeHover: true,
},
{
icon: "globe",
text: "Example thats only available when logged in",
href: "https://www.spot-ship.com",
removeHover: true,
},
],
background: true,
}}
>
{Template.bind({})}
</Story>
</Canvas>
Comments