Skip to content

Commit

Permalink
dev: Updated nav component
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-crowell committed Jun 17, 2024
1 parent ca7eec1 commit 0e069c6
Showing 1 changed file with 14 additions and 22 deletions.
36 changes: 14 additions & 22 deletions packages/ui/src/components/Navigation/Navigation.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,46 +98,38 @@ const socials: SocialLinks = [
},
];

const args = {
title: 'Navigation Component',
titleShort: 'Navigation',
logo,
links,
search: '#search',
modeToggle: true,
socials,
};

export const Standard: Story = {
args: {
title: 'Navigation',
logo,
links,
search: '#search',
modeToggle: true,
socials,
},
args,
};

export const Island: Story = {
args: {
title: 'Navigation',
logo,
...args,
variant: 'island',
links,
search: '#search',
modeToggle: true,
socials,
},
};

export const Extended: Story = {
args: {
title: 'Navigation',
logo,
...args,
variant: 'extended',
links,
search: '#search',
modeToggle: true,
socials,
},
};

export const WithClassName: Story = {
args: {
title: 'Navigation',
...args,
variant: 'standard',
className: 'bg-red-500',
links,
},
};

0 comments on commit 0e069c6

Please sign in to comment.