Skip to content

Commit

Permalink
feat: Add Story for when no user object is provided (hide login/logou…
Browse files Browse the repository at this point in the history
…t links)
  • Loading branch information
meissadia committed Jul 31, 2023
1 parent e741acb commit 329a7cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/Navbar/Navbar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@ export const LoggedOut: Story = {
user: { loginHref: '#' }
}
};

export const NoUser: Story = {
args: {
links: ExampleLinks
}
};

0 comments on commit 329a7cf

Please sign in to comment.